|
1 | | -FROM lscr.io/linuxserver/webtop:4.16-r0-ls95 |
| 1 | +FROM linuxserver/webtop:latest |
2 | 2 | LABEL NAME="OWASP WrongSecrets Web Desktop" MAINTAINER="Jeroen Willemsen" |
3 | 3 |
|
4 | | -RUN \ |
5 | | - echo "*** install kubectl ***" && \ |
6 | | - curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" &&\ |
7 | | - sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl &&\ |
8 | | - rm kubectl |
| 4 | +# RUN \ |
| 5 | +# echo "*** install kubectl ***" && \ |
| 6 | +# curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" &&\ |
| 7 | +# sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl &&\ |
| 8 | +# rm kubectl |
9 | 9 |
|
10 | 10 | RUN \ |
11 | 11 | echo "**** install packages ****" && \ |
12 | | - apk add --no-cache shadow keepassxc radare2 aws-cli geany git gdb build-base icu-libs icu-data-full ca-certificates libgcc libstdc++ zlib && \ |
| 12 | + apk add --no-cache shadow keepassxc kubectl radare2 dotnet9-sdk aws-cli geany git gdb build-base icu-libs icu-data-full ca-certificates libgcc libstdc++ zlib && \ |
13 | 13 | echo "**** adding abc user to root for Docker ****" && \ |
14 | 14 | usermod -aG root abc && \ |
15 | 15 | touch /var/run/docker.sock && \ |
16 | 16 | chown abc:abc /var/run/docker.sock && \ |
17 | 17 | echo "**** cleanup ****" && \ |
18 | 18 | rm -rf /tmp/* |
19 | 19 |
|
20 | | -RUN \ |
21 | | - echo "installing dotnet" && \ |
22 | | - wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && \ |
23 | | - chmod +x dotnet-install.sh && \ |
24 | | - ./dotnet-install.sh --install-dir /etc/dotnet --version latest && \ |
25 | | - export DOTNET_ROOT=/etc/dotnet && \ |
26 | | - export PATH="/etc/dotnet:/etc/dotnet/tools:$PATH" && \ |
27 | | - dotnet --info && \ |
28 | | - dotnet tool install ilspycmd --version 9.0.0.7889 --tool-path /etc/dotnet/tools |
29 | | - |
| 20 | +# RUN \ |
| 21 | +# echo "installing dotnet" && \ |
| 22 | +# wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && \ |
| 23 | +# chmod +x dotnet-install.sh && \ |
| 24 | +# ./dotnet-install.sh --install-dir /etc/dotnet --version latest && \ |
| 25 | +# export DOTNET_ROOT=/etc/dotnet && \ |
| 26 | +# export PATH="/etc/dotnet:/etc/dotnet/tools:$PATH" && \ |
| 27 | +# dotnet --info && \ |
| 28 | +# dotnet tool install ilspycmd --version 9.0.0.7889 --tool-path /etc/dotnet/tools |
| 29 | + |
| 30 | +RUN dotnet tool install ilspycmd --version 9.0.0.7889 --tool-path /etc/dotnet/tools |
30 | 31 | # Add secret handling for Kubernetes-specific Docker builds |
31 | 32 | # Create the /app directory to store the secret |
32 | 33 | RUN mkdir -p /app |
|
0 commit comments