File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,27 @@ 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
20- RUN add-apt-repository ppa:dotnet/backports \
21- && apt-get update \
22- && apt-get install -y dotnet-sdk-10.0 \
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 \
2329 && apt-get clean \
2430 && rm -rf /var/lib/apt/lists/*
2531
32+ # Install .NET 10 SDK
33+ RUN curl -L https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh \
34+ && chmod +x dotnet-install.sh \
35+ && ./dotnet-install.sh --channel 10.0 --install-dir /opt/dotnet \
36+ && rm dotnet-install.sh \
37+ export DOTNET_ROOT=/opt/dotnet \
38+ export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
39+
2640# Install Hack Nerd Font for terminal use
2741RUN mkdir -p ~/.fonts && wget -q -P ~/.fonts https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Hack.zip \
2842 && unzip -o ~/.fonts/Hack.zip -d ~/.fonts && fc-cache -fv \
You canβt perform that action at this time.
0 commit comments