Skip to content

Commit

Permalink
Just a little more polish
Browse files Browse the repository at this point in the history
  • Loading branch information
definitelynotagoblin committed Jan 17, 2024
1 parent 480c24d commit a62acb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM mono:6.12.0
# Install .NET SDK
ENV DOTNET_VERSION=5.0

RUN curl -sSL https://dot.net/v1/dotnet-install.sh | bash -s -- -Channel $DOTNET_VERSION -InstallDir /usr/share/dotnet \
RUN curl -sSL https://dot.net/v1/dotnet-install.sh \
| bash -s -- -Channel $DOTNET_VERSION -InstallDir /usr/share/dotnet \
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet

WORKDIR /build
Expand All @@ -14,4 +15,4 @@ CMD [ "dotnet", "build" ]
# docker build -t shc-build . --no-cache

## Build solution (every time):
# docker run --rm -v ".:/build" shc-build
# docker run --rm -v .:/build shc-build

0 comments on commit a62acb0

Please sign in to comment.