Skip to content

Commit

Permalink
Merge pull request #505 from OWASP/add-git
Browse files Browse the repository at this point in the history
Added git and a clone for the k8s container.
  • Loading branch information
commjoen authored Nov 26, 2022
2 parents 011aada + e48d86b commit f8936cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile_webdesktop
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN \

RUN \
echo "**** install packages ****" && \
apk add --no-cache shadow keepassxc radare2 aws-cli geany && \
apk add --no-cache shadow keepassxc radare2 aws-cli geany git && \
echo "**** adding abc user to root for Docker ****" && \
usermod -aG root abc && \
touch /var/run/docker.sock && \
Expand Down
8 changes: 7 additions & 1 deletion Dockerfile_webdesktopk8s
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,20 @@ RUN \

RUN \
echo "**** install packages ****" && \
apk add --no-cache shadow keepassxc radare2 aws-cli geany && \
apk add --no-cache shadow keepassxc radare2 aws-cli geany git && \
echo "**** adding abc user to root for Docker ****" && \
usermod -aG root abc && \
touch /var/run/docker.sock && \
chown abc:abc /var/run/docker.sock && \
echo "**** cleanup ****" && \
rm -rf /tmp/*

RUN echo "**** clone wrongsecrets.git for webtop in k8s ****" && \
mkdir /var/tmp/wrongsecrets && \
cd /var/tmp/wrongsecrets && \
git clone https://github.com/OWASP/wrongsecrets.git


WORKDIR /config/Desktop

COPY src/main/resources/executables/ /var/tmp/wrongsecrets
Expand Down

0 comments on commit f8936cf

Please sign in to comment.