Skip to content

Commit

Permalink
EOL - Alpine 3.14 (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
samruddhikhandale committed May 16, 2023
1 parent 8fb5d26 commit 44a5523
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/base-alpine/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# [Choice] Alpine version: 3.17, 3.16, 3.15, 3.14
# [Choice] Alpine version: 3.17, 3.16, 3.15
ARG VARIANT=3.17
FROM alpine:${VARIANT}

ARG VARIANT

# Temporary: Upgrade packages due to mentioned CVEs
RUN if [[ "$VARIANT" == "3.14" || "$VARIANT" == "3.15" ]]; then \
RUN if [[ "$VARIANT" == "3.15" ]]; then \
apk update \
# https://security.alpinelinux.org/vuln/CVE-2023-27320
&& apk add sudo>=1.9.12-r1 --repository https://dl-cdn.alpinelinux.org/alpine/latest-stable/community ; \
Expand Down
3 changes: 1 addition & 2 deletions src/base-alpine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| *Categories* | Core, Other |
| *Image type* | Dockerfile |
| *Published images* | mcr.microsoft.com/devcontainers/base:alpine |
| *Available image variants* | alpine-3.17, alpine-3.16, alpine-3.15, alpine-3.14 ([full list](https://mcr.microsoft.com/v2/devcontainers/base/tags/list)) |
| *Available image variants* | alpine-3.17, alpine-3.16, alpine-3.15 ([full list](https://mcr.microsoft.com/v2/devcontainers/base/tags/list)) |
| *Published image architecture(s)* | x86-64, aarch64/arm64 |
| *Container host OS support* | Linux, macOS, Windows |
| *Container OS* | Alpine Linux |
Expand All @@ -25,7 +25,6 @@ You can also directly reference pre-built versions of `.devcontainer/Dockerfile`
- `mcr.microsoft.com/devcontainers/base:alpine-3.17`
- `mcr.microsoft.com/devcontainers/base:alpine-3.16`
- `mcr.microsoft.com/devcontainers/base:alpine-3.15`
- `mcr.microsoft.com/devcontainers/base:alpine-3.14`

Refer to [this guide](https://containers.dev/guide/dockerfile) for more details.

Expand Down
3 changes: 1 addition & 2 deletions src/base-alpine/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"variants": [
"3.17",
"3.16",
"3.15",
"3.14"
"3.15"
],
"build": {
"latest": false,
Expand Down

0 comments on commit 44a5523

Please sign in to comment.