Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use .NET 8 docker images for devcontainer #3760

Merged
merged 2 commits into from
Nov 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:1-7.0-jammy
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:1-8.0-jammy

USER vscode
WORKDIR /home/vscode
Expand All @@ -10,12 +10,9 @@ RUN set -eux \
&& rm packages-microsoft-prod.deb \
&& sudo apt update \
&& sudo apt-get install -y libmsquic \
&& wget -q https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh \
&& bash dotnet-install.sh --channel 8.0 --install-dir ~/.dotnet8.0 \
&& sudo rm -rf /var/lib/apt/lists/* \
&& sudo apt-get clean \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

# Set environment variables
ENV DOTNET_ROOT=/home/vscode/.dotnet8.0 \
PATH=/home/vscode/.dotnet8.0:/home/vscode/.dotnet8.0/tools:/home/vscode/.cargo/bin:$PATH
ENV PATH=/home/vscode/.cargo/bin:$PATH
Loading