Skip to content

Commit

Permalink
add comment ; use dev containers image
Browse files Browse the repository at this point in the history
  • Loading branch information
samruddhikhandale committed Jun 26, 2023
1 parent 8f7f585 commit c9f3f1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/dotnet/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,13 @@ install_using_apt() {
curl -sSL ${MICROSOFT_GPG_KEYS_URI} | gpg --dearmor > /usr/share/keyrings/microsoft-archive-keyring.gpg
echo "deb [arch=${architecture} signed-by=/usr/share/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/repos/microsoft-${ID}-${VERSION_CODENAME}-prod ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/microsoft.list

cat << 'EOF' > /etc/apt/preferences
# See https://github.com/dotnet/core/issues/7699
cat << 'EOF' >> /etc/apt/preferences
Package: *
Pin: origin "packages.microsoft.com"
Pin-Priority: 1001
EOF

apt-get update -y
fi

Expand Down
2 changes: 1 addition & 1 deletion test/dotnet/scenarios.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}
},
"install_dotnet_6_jammy": {
"image": "ubuntu:jammy",
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"features": {
"dotnet": {
"version": "6"
Expand Down

0 comments on commit c9f3f1d

Please sign in to comment.