Skip to content

Commit ee36517

Browse files
committed
πŸ§‘β€πŸ’» fix dockerfile
1 parent 5715aa8 commit ee36517

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

β€Ž.devcontainer/Dockerfileβ€Ž

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,13 @@ RUN apt-get update && apt-get install -y \
1616
&& apt-get clean \
1717
&& rm -rf /var/lib/apt/lists/*
1818

19-
# Install .NET 10 SDK dependencies
20-
RUN apt-get update && apt-get install -y \
21-
ca-certificates \
22-
libc6 \
23-
libgcc-s1 \
24-
libgssapi-krb5-2 \
25-
libicu74 \
26-
libstdc++6 \
27-
tzdata \
28-
zlib1g \
29-
&& apt-get clean \
30-
&& rm -rf /var/lib/apt/lists/*
31-
3219
# Install .NET 10 SDK
3320
RUN curl -L https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh \
3421
&& chmod +x dotnet-install.sh \
3522
&& ./dotnet-install.sh --channel 10.0 --install-dir /opt/dotnet \
3623
&& rm dotnet-install.sh \
37-
export DOTNET_ROOT=/opt/dotnet \
38-
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
24+
&& export DOTNET_ROOT=/opt/dotnet \
25+
&& export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
3926

4027
# Install Hack Nerd Font for terminal use
4128
RUN mkdir -p ~/.fonts && wget -q -P ~/.fonts https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Hack.zip \

0 commit comments

Comments
Β (0)