File tree Expand file tree Collapse file tree 4 files changed +17
-15
lines changed
wrongsecret-desktop-resources Expand file tree Collapse file tree 4 files changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,15 @@ RUN \
1818 rm -rf /tmp/*
1919
2020RUN \
21- echo "installing dotnet via Alpine packages" && \
22- apk add --no-cache dotnet8-sdk dotnet8-runtime aspnetcore8-runtime && \
23- export DOTNET_ROOT=/usr/share/dotnet && \
24- export PATH="/usr/share/dotnet:$PATH" && \
21+ echo "installing dotnet with musl compatibility" && \
22+ apk add --no-cache curl icu-libs krb5-libs libgcc libintl libssl1.1 libstdc++ zlib && \
23+ curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 6.0 --install-dir /etc/dotnet && \
24+ export DOTNET_ROOT=/etc/dotnet && \
25+ export PATH="/etc/dotnet:/etc/dotnet/tools:$PATH" && \
2526 echo "Checking dotnet installation..." && \
26- dotnet --info && \
27+ /etc/dotnet/ dotnet --info && \
2728 echo "Installing ilspycmd..." && \
28- dotnet tool install --global ilspycmd --version 9.0.0.7889
29+ /etc/ dotnet/dotnet tool install ilspycmd --version 9.0.0.7889 --tool-path /etc/dotnet/tools
2930
3031WORKDIR /config/Desktop
3132
Original file line number Diff line number Diff line change @@ -23,14 +23,15 @@ RUN echo "**** clone wrongsecrets.git for webtop in k8s ****" && \
2323 git clone https://github.com/OWASP/wrongsecrets.git
2424
2525RUN \
26- echo "installing dotnet via Alpine packages" && \
27- apk add --no-cache dotnet8-sdk dotnet8-runtime aspnetcore8-runtime && \
28- export DOTNET_ROOT=/usr/share/dotnet && \
29- export PATH="/usr/share/dotnet:$PATH" && \
26+ echo "installing dotnet with musl compatibility" && \
27+ apk add --no-cache curl icu-libs krb5-libs libgcc libintl libssl1.1 libstdc++ zlib && \
28+ curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 6.0 --install-dir /etc/dotnet && \
29+ export DOTNET_ROOT=/etc/dotnet && \
30+ export PATH="/etc/dotnet:/etc/dotnet/tools:$PATH" && \
3031 echo "Checking dotnet installation..." && \
31- dotnet --info && \
32+ /etc/dotnet/ dotnet --info && \
3233 echo "Installing ilspycmd..." && \
33- dotnet tool install --global ilspycmd --version 9.0.0.7889
34+ /etc/ dotnet/dotnet tool install ilspycmd --version 9.0.0.7889 --tool-path /etc/dotnet/tools
3435
3536WORKDIR /config/Desktop
3637
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- export DOTNET_ROOT=/usr/share /dotnet
4- export DOTNET_INSTALL_DIR=" /usr/share /dotnet"
5- export PATH=" $PATH :$DOTNET_ROOT :/root/.dotnet /tools"
3+ export DOTNET_ROOT=/etc /dotnet
4+ export DOTNET_INSTALL_DIR=" /etc /dotnet"
5+ export PATH=" $PATH :$DOTNET_ROOT :$DOTNET_ROOT /tools"
66export PATH=" $PATH :/config/.dotnet/tools"
77/startpulse.sh &
88ln -s -r /var/tmp/wrongsecrets /config/Desktop/wrongsecrets
You can’t perform that action at this time.
0 commit comments