Skip to content

Commit 0459da9

Browse files
authored
Update Dockerfile
Signed-off-by: ThatMG393 <73651803+ThatMG393@users.noreply.github.com>
1 parent f475917 commit 0459da9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ RUN sudo apt-get update \
66
&& sudo apt-get clean \
77
&& sudo rm -rf /var/cache/apt/* \
88
&& sudo rm -rf /var/lib/apt/lists/* \
9-
&& sudo rm -rf /tmp/*
9+
&& sudo rm -rf /tmp/* \
10+
&& curl -sSL https://dot.net/v1/dotnet-install.sh | sudo bash /dev/stdin --channel LTS --runtime dotnet --os linux --version 7.x.x \
11+
&& export DOTNET_ROOT=$HOME/.dotnet \
12+
&& export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools \
13+
&& source ~/.bashrc

0 commit comments

Comments
 (0)