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

Commit e3c4853

Browse files
authored
Add alpine 3.16 (#1543)
Alpine 3.16 was released on 2022-05-23 and is currently at 3.16.1. The new version has some updated stable packages. In particular, I'm interested in the updated fzf package, which does not depend on perl.
1 parent f7097de commit e3c4853

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

containers/alpine/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# [Choice] Alpine version: 3.15, 3.14, 3.13
2-
ARG VARIANT=3.15
1+
# [Choice] Alpine version: 3.16, 3.15, 3.14, 3.13
2+
ARG VARIANT=3.16
33
FROM mcr.microsoft.com/vscode/devcontainers/base:0-alpine-${VARIANT}
44

55
# ** [Optional] Uncomment this section to install additional packages. **

containers/alpine/.devcontainer/base.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# [Choice] Alpine version: 3.15, 3.14, 3.13
2-
ARG VARIANT=3.15
1+
# [Choice] Alpine version: 3.16, 3.15, 3.14, 3.13
2+
ARG VARIANT=3.16
33
FROM alpine:${VARIANT}
44

55
# [Option] Install zsh

containers/alpine/.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "Alpine",
33
"build": {
44
"dockerfile": "Dockerfile",
5-
// Update 'VARIANT' to pick an Alpine version: 3.13, 3.14, 3.15
6-
"args": { "VARIANT": "3.15" }
5+
// Update 'VARIANT' to pick an Alpine version: 3.13, 3.14, 3.15, 3.16
6+
"args": { "VARIANT": "3.16" }
77
},
88

99
// Use 'forwardPorts' to make a list of ports inside the container available locally.

containers/alpine/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
*Simple Alpine container with Git installed.*
66

7-
| Metadata | Value |
7+
| Metadata | Value |
88
|----------|-------|
99
| *Contributors* | The VS Code Team |
1010
| *Categories* | Core, Other |
1111
| *Definition type* | Dockerfile |
1212
| *Published images* | mcr.microsoft.com/vscode/devcontainers/base:alpine |
13-
| *Available image variants* | 3.15, 3.14, 3.13 ([full list](https://mcr.microsoft.com/v2/vscode/devcontainers/base/tags/list)) |
13+
| *Available image variants* | 3.16, 3.15, 3.14, 3.13 ([full list](https://mcr.microsoft.com/v2/vscode/devcontainers/base/tags/list)) |
1414
| *Published image architecture(s)* | x86-64, aarch64/arm64 |
1515
| *Works in Codespaces* | Yes |
1616
| *Container host OS support* | Linux, macOS, Windows |
@@ -24,7 +24,7 @@ See **[history](history)** for information on the contents of published images.
2424
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).
2525

2626
```json
27-
"args": { "VARIANT": "3.15" }
27+
"args": { "VARIANT": "3.16" }
2828
```
2929

3030
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.
@@ -33,6 +33,7 @@ You can also directly reference pre-built versions of `.devcontainer/base.Docker
3333
- `mcr.microsoft.com/vscode/devcontainers/base:alpine-3.13`
3434
- `mcr.microsoft.com/vscode/devcontainers/base:alpine-3.14`
3535
- `mcr.microsoft.com/vscode/devcontainers/base:alpine-3.15`
36+
- `mcr.microsoft.com/vscode/devcontainers/base:alpine-3.16`
3637

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

containers/alpine/definition-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"variants": ["3.15", "3.14", "3.13"],
3-
"definitionVersion": "0.204.4",
2+
"variants": ["3.16", "3.15", "3.14", "3.13"],
3+
"definitionVersion": "0.204.5",
44
"build": {
55
"latest": false,
66
"rootDistro": "alpine",
@@ -22,4 +22,4 @@
2222
"Oh My Zsh!": "/home/vscode/.oh-my-zsh"
2323
}
2424
}
25-
}
25+
}

0 commit comments

Comments
 (0)