forked from OWASP/wrongsecrets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile_webdesktop
26 lines (22 loc) · 1.03 KB
/
Dockerfile_webdesktop
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM lscr.io/linuxserver/webtop:latest
LABEL NAME="OWASP WrongSecrets Web Desktop" MAINTAINER="Jeroen Willemsen"
RUN \
echo "*** install kubectl ***" && \
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" &&\
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl &&\
rm kubectl
RUN \
echo "**** install packages ****" && \
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/*
WORKDIR /config/Desktop
COPY src/main/resources/executables/ /config/Desktop/wrongsecrets
COPY src/test/resources/alibabacreds.kdbx /var/tmp/helpers
COPY src/test/resources/alibabacreds.kdbx /config/Desktop/wrongsecrets
COPY wrongsecret-desktop-resources/welcome.md /config/Desktop
COPY wrongsecret-desktop-resources/welcome.md /config/Desktop/wrongsecrets