File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,14 @@ RUN \
2121 echo "installing dotnet" && \
2222 wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && \
2323 chmod +x dotnet-install.sh && \
24- ./dotnet-install.sh --install-dir /etc/dotnet --version latest && \
24+ ./dotnet-install.sh --install-dir /etc/dotnet --channel 6.0 --version latest && \
25+ rm dotnet-install.sh && \
2526 export DOTNET_ROOT=/etc/dotnet && \
2627 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- # Add secret handling for Kubernetes-specific Docker builds
31- # Create the /app directory to store the secret
32- RUN mkdir -p /app
33-
34- # Use a separate RUN command for --mount
35- RUN --mount=type=secret,id=mysecret \
36- export SECRET_VALUE=$(cat /run/secrets/mysecret) && \
37- echo $SECRET_VALUE >> /app/secret.txt
28+ echo "Checking dotnet installation..." && \
29+ /etc/dotnet/dotnet --info && \
30+ echo "Installing ilspycmd..." && \
31+ /etc/dotnet/dotnet tool install ilspycmd --version 9.0.0.7889 --tool-path /etc/dotnet/tools
3832
3933WORKDIR /config/Desktop
4034
You can’t perform that action at this time.
0 commit comments