Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 16e66f5

Browse files
authored
Update .NET 5.0 EOL (#1454)
1 parent e7ce8bd commit 16e66f5

File tree

11 files changed

+18
-28
lines changed

11 files changed

+18
-28
lines changed

containers/dotnet-fsharp/.devcontainer/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0-5.0
1+
ARG VARIANT=6.0-bullseye
2+
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0-${VARIANT}
23

3-
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
4+
# [Choice] Node.js version: none, lts/*, 18, 16, 14
45
ARG NODE_VERSION="lts/*"
56
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
67

containers/dotnet-mssql/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# [Choice] .NET version: 6.0-focal, 5.0-focal, 3.1-focal
1+
# [Choice] .NET version: 6.0-focal, 3.1-focal
22
ARG VARIANT="6.0-focal"
33
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:${VARIANT}
44

5-
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
5+
# [Choice] Node.js version: none, lts/*, 18, 16, 14
66
ARG NODE_VERSION="none"
77
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
88

containers/dotnet-mssql/.devcontainer/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
context: .
77
dockerfile: Dockerfile
88
args:
9-
# Update 'VARIANT' to pick a version of .NET: 3.1-focal, 5.0-focal, 6.0-focal
9+
# Update 'VARIANT' to pick a version of .NET: 3.1-focal, 6.0-focal
1010
VARIANT: "6.0-focal"
1111
# Optional version of Node.js
1212
NODE_VERSION: "lts/*"

containers/dotnet-mssql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
| *Categories* | Core, Languages |
1111
| *Definition type* | Docker Compose |
1212
| *Published image architecture(s)* | x86-64 |
13-
| *Available image variants* | 3.1-focal, 5.0-focal, 6.0-focal |
13+
| *Available image variants* | 3.1-focal, 6.0-focal |
1414
| *Works in Codespaces* | Yes |
1515
| *Container host OS support* | Linux, macOS, Windows |
1616
| *Container OS* | Ubuntu 20.04/focal (Debian 11/bullseye image variants not yet supported by MSSQL client) |

containers/dotnet-postgres/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# [Choice] .NET version: 6.0, 5.0, 3.1, 6.0-bullseye, 5.0-bullseye, 3.1-bullseye, 6.0-focal, 5.0-focal, 3.1-focal
1+
# [Choice] .NET version: 6.0, 3.1, 6.0-bullseye, 3.1-bullseye, 6.0-focal, 3.1-focal
22
ARG VARIANT="6.0"
33
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0-${VARIANT}
44

5-
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
5+
# [Choice] Node.js version: none, lts/*, 18, 16, 14
66
ARG NODE_VERSION="none"
77
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
88

containers/dotnet-postgres/.devcontainer/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
context: .
77
dockerfile: Dockerfile
88
args:
9-
# Update 'VARIANT' to pick a version of .NET: 3.1, 5.0, 6.0
9+
# Update 'VARIANT' to pick a version of .NET: 3.1, 6.0
1010
VARIANT: "6.0"
1111
# Optional version of Node.js
1212
NODE_VERSION: "lts/*"

containers/dotnet/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# [Choice] .NET version: 6.0, 5.0, 3.1, 6.0-bullseye, 5.0-bullseye, 3.1-bullseye, 6.0-focal, 5.0-focal, 3.1-focal
1+
# [Choice] .NET version: 6.0, 3.1, 6.0-bullseye, 3.1-bullseye, 6.0-focal, 3.1-focal
22
ARG VARIANT=6.0-bullseye
33
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0-${VARIANT}
44

5-
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
5+
# [Choice] Node.js version: none, lts/*, 18, 16, 14
66
ARG NODE_VERSION="none"
77
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
88

containers/dotnet/.devcontainer/base.Dockerfile

Lines changed: 2 additions & 2 deletions
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

@@ -16,7 +16,7 @@ ARG USER_GID=$USER_UID
1616
RUN bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" "true" "true" \
1717
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
1818

19-
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
19+
# [Choice] Node.js version: none, lts/*, 18, 16, 14
2020
ARG NODE_VERSION="none"
2121
ENV NVM_DIR=/usr/local/share/nvm
2222
ENV NVM_SYMLINK_CURRENT=true \

containers/dotnet/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"build": {
44
"dockerfile": "Dockerfile",
55
"args": {
6-
// Update 'VARIANT' to pick a .NET Core version: 3.1, 5.0, 6.0
6+
// Update 'VARIANT' to pick a .NET Core version: 3.1, 6.0
77
// Append -bullseye or -focal to pin to an OS version.
88
"VARIANT": "6.0-bullseye",
99
// Options

containers/dotnet/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
| *Categories* | Core, Languages |
1111
| *Definition type* | Dockerfile |
1212
| *Published images* | mcr.microsoft.com/vscode/devcontainers/dotnet |
13-
| *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/vscode/devcontainers/dotnet/tags/list)) |
13+
| *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/vscode/devcontainers/dotnet/tags/list)) |
1414
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bullseye` variants |
1515
| *Works in Codespaces* | Yes |
1616
| *Container host OS support* | Linux, macOS, Windows |
@@ -34,7 +34,6 @@ You can also directly reference pre-built versions of `.devcontainer/base.Docker
3434

3535
- `mcr.microsoft.com/vscode/devcontainers/dotnet` (latest)
3636
- `mcr.microsoft.com/vscode/devcontainers/dotnet:3.1` (or `3.1-bullseye`, `3.1-focal` to pin to an OS version)
37-
- `mcr.microsoft.com/vscode/devcontainers/dotnet:5.0` (or `5.0-bullseye`, `5.0-focal` to pin to an OS version)
3837
- `mcr.microsoft.com/vscode/devcontainers/dotnet:6.0` (or `6.0-bullseye`, `6.0-focal` to pin to an OS version)
3938

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

0 commit comments

Comments
 (0)