Skip to content

Commit 0c734aa

Browse files
Merge pull request #97 from devcontainers/samrudhikhandale/port-fixes
Ports changes from vscode-dev-containers
2 parents 284b192 + 812712f commit 0c734aa

File tree

4 files changed

+3
-21
lines changed

4 files changed

+3
-21
lines changed

src/base-alpine/.devcontainer/library-scripts/common-alpine.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ else
138138
fi
139139
fi
140140

141-
# Add add sudo support for non-root user
141+
# Add sudo support for non-root user
142142
if [ "${USERNAME}" != "root" ] && [ "${EXISTING_NON_ROOT_USER}" != "${USERNAME}" ]; then
143143
echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME
144144
chmod 0440 /etc/sudoers.d/$USERNAME

src/dotnet/.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Choice] .NET version: 6.0-bullseye, 5.0-bullseye, 3.1-bullseye, 6.0-focal, 5.0-focal, 3.1-focal
1+
# [Choice] .NET version: 6.0-bullseye, 3.1-bullseye, 6.0-focal, 3.1-focal
22
ARG VARIANT=6.0-bullseye-slim
33
FROM mcr.microsoft.com/dotnet/sdk:${VARIANT}
44

src/dotnet/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| *Categories* | Core, Languages |
1010
| *Image type* | Dockerfile |
1111
| *Published images* | mcr.microsoft.com/devcontainers/dotnet |
12-
| *Available image variants* | 3.1 / 3.1-focal, 5.0 / 5.0-focal, 6.0 /6.0-bullseye, 6.0-focal, 5.0-bullseye, 3.1-bullseye ([full list](https://mcr.microsoft.com/v2/devcontainers/dotnet/tags/list)) |
12+
| *Available image variants* | 3.1 / 3.1-focal / 6.0 /6.0-bullseye, 6.0-focal, 3.1-bullseye ([full list](https://mcr.microsoft.com/v2/devcontainers/dotnet/tags/list)) |
1313
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bullseye` variants |
1414
| *Container host OS support* | Linux, macOS, Windows |
1515
| *Container OS* | Ubuntu (`-focal`), Debian (`-bullseye`) |
@@ -25,7 +25,6 @@ You can directly reference pre-built versions of `Dockerfile` by using the `imag
2525

2626
- `mcr.microsoft.com/devcontainers/dotnet` (latest)
2727
- `mcr.microsoft.com/devcontainers/dotnet:3.1` (or `3.1-bullseye`, `3.1-focal` to pin to an OS version)
28-
- `mcr.microsoft.com/devcontainers/dotnet:5.0` (or `5.0-bullseye`, `5.0-focal` to pin to an OS version)
2928
- `mcr.microsoft.com/devcontainers/dotnet:6.0` (or `6.0-bullseye`, `6.0-focal` to pin to an OS version)
3029

3130
You can decide how often you want updates by referencing a [semantic version](https://semver.org/) of each image. For example:

src/dotnet/manifest.json

-17
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"variants": [
44
"6.0-bullseye-slim",
55
"6.0-focal",
6-
"5.0-bullseye-slim",
7-
"5.0-focal",
86
"3.1-bullseye",
97
"3.1-focal"
108
],
@@ -22,13 +20,6 @@
2220
"linux/amd64",
2321
"linux/arm64"
2422
],
25-
"5.0-focal": [
26-
"linux/amd64"
27-
],
28-
"5.0-bullseye-slim": [
29-
"linux/amd64",
30-
"linux/arm64"
31-
],
3223
"3.1-focal": [
3324
"linux/amd64"
3425
],
@@ -42,14 +33,6 @@
4233
"dotnet:${VERSION}-6.0",
4334
"dotnet:${VERSION}-6.0-bullseye"
4435
],
45-
"5.0-focal": [
46-
"dotnet:${VERSION}-5.0",
47-
"dotnetcore:${VERSION}-5.0"
48-
],
49-
"5.0-bullseye-slim": [
50-
"dotnet:${VERSION}-5.0-bullseye",
51-
"dotnetcore:${VERSION}-5.0-bullseye"
52-
],
5336
"3.1-focal": [
5437
"dotnet:${VERSION}-3.1",
5538
"dotnetcore:${VERSION}-3.1"

0 commit comments

Comments
 (0)