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

Drop Alpine EOL 3.12 #1432

Merged
merged 2 commits into from
May 5, 2022
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions containers/alpine/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [Choice] Alpine version: 3.14, 3.13, 3.12, 3.11
ARG VARIANT=3.13
# [Choice] Alpine version: 3.15, 3.14, 3.13
ARG VARIANT=3.15
FROM mcr.microsoft.com/vscode/devcontainers/base:0-alpine-${VARIANT}

# ** [Optional] Uncomment this section to install additional packages. **
Expand Down
2 changes: 1 addition & 1 deletion containers/alpine/.devcontainer/base.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [Choice] Alpine version: 3.15, 3.14, 3.13, 3.12, 3.11
# [Choice] Alpine version: 3.15, 3.14, 3.13
ARG VARIANT=3.15
FROM alpine:${VARIANT}

Expand Down
2 changes: 1 addition & 1 deletion containers/alpine/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Alpine",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick an Alpine version: 3.12, 3.13, 3.14, 3.15
// Update 'VARIANT' to pick an Alpine version: 3.13, 3.14, 3.15
"args": { "VARIANT": "3.15" }
},

Expand Down
5 changes: 2 additions & 3 deletions containers/alpine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
| *Categories* | Core, Other |
| *Definition type* | Dockerfile |
| *Published images* | mcr.microsoft.com/vscode/devcontainers/base:alpine |
| *Available image variants* | 3.15, 3.14, 3.13, 3.12 ([full list](https://mcr.microsoft.com/v2/vscode/devcontainers/base/tags/list)) |
| *Available image variants* | 3.15, 3.14, 3.13 ([full list](https://mcr.microsoft.com/v2/vscode/devcontainers/base/tags/list)) |
| *Published image architecture(s)* | x86-64, aarch64/arm64 |
| *Works in Codespaces* | Yes |
| *Container host OS support* | Linux, macOS, Windows |
Expand All @@ -24,13 +24,12 @@ See **[history](history)** for information on the contents of published images.
While the definition itself works unmodified, you can select the version of Alpine the container uses by updating the `VARIANT` arg in the included `devcontainer.json` (and rebuilding if you've already created the container).

```json
"args": { "VARIANT": "3.14" }
"args": { "VARIANT": "3.15" }
```

You can also directly reference pre-built versions of `.devcontainer/base.Dockerfile` by using the `image` property in `.devcontainer/devcontainer.json` or updating the `FROM` statement in your own `Dockerfile` to one of the following. An example `Dockerfile` is included in this repository.

- `mcr.microsoft.com/vscode/devcontainers/base:alpine` (latest)
- `mcr.microsoft.com/vscode/devcontainers/base:alpine-3.12`
- `mcr.microsoft.com/vscode/devcontainers/base:alpine-3.13`
- `mcr.microsoft.com/vscode/devcontainers/base:alpine-3.14`
- `mcr.microsoft.com/vscode/devcontainers/base:alpine-3.15`
Expand Down
4 changes: 2 additions & 2 deletions containers/alpine/definition-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"variants": ["3.15", "3.14", "3.13", "3.12"],
"definitionVersion": "0.204.2",
"variants": ["3.15", "3.14", "3.13"],
"definitionVersion": "0.204.3",
"build": {
"latest": false,
"rootDistro": "alpine",
Expand Down