File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,13 +37,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3737 ca-certificates \
3838 && rm -rf /var/lib/apt/lists/*
3939
40- RUN wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
41- && dpkg -i packages-microsoft-prod.deb \
42- && rm packages-microsoft-prod.deb
43-
44- RUN apt-get update && apt-get install -y --no-install-recommends \
45- dotnet-sdk-10.0 \
46- && rm -rf /var/lib/apt/lists/*
40+ # Install dotnet-sdk 10.0 using install script to bypass GPG SHA1 issues
41+ RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh \
42+ && chmod +x dotnet-install.sh \
43+ && ./dotnet-install.sh --channel 10.0 --install-dir /usr/share/dotnet \
44+ && rm dotnet-install.sh
45+
46+ # Set dotnet environment variables
47+ ENV DOTNET_ROOT=/usr/share/dotnet
48+ ENV PATH=$PATH:$DOTNET_ROOT
4749
4850# Install bun
4951COPY --from=bun /usr/local/bin/bun /usr/local/bin/bun
You can’t perform that action at this time.
0 commit comments