Skip to content

Commit 4cf5e34

Browse files
authored
Merge pull request moby#4952 from crazy-max/alpine320
dockerfile: bump alpine to 3.20
2 parents c1113b1 + 8b48ab0 commit 4cf5e34

File tree

7 files changed

+9
-20
lines changed

7 files changed

+9
-20
lines changed

Dockerfile

+3-14
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,14 @@ ARG GOTESTSUM_VERSION=v1.9.0
1818
ARG DELVE_VERSION=v1.21.0
1919

2020
ARG GO_VERSION=1.21
21-
ARG ALPINE_VERSION=3.19
21+
ARG ALPINE_VERSION=3.20
2222
ARG XX_VERSION=1.4.0
2323
ARG BUILDKIT_DEBUG
2424

25-
ARG ALPINE_ARCH=${TARGETARCH#riscv64}
26-
ARG ALPINE_ARCH=${ALPINE_ARCH:+"default"}
27-
ARG ALPINE_ARCH=${ALPINE_ARCH:-$TARGETARCH}
28-
2925
# minio for s3 integration tests
3026
FROM minio/minio:${MINIO_VERSION} AS minio
3127
FROM minio/mc:${MINIO_MC_VERSION} AS minio-mc
3228

33-
# alpine base for buildkit image
34-
# TODO: remove this when alpine image supports riscv64
35-
FROM alpine:${ALPINE_VERSION} AS alpine-default
36-
FROM alpine:edge@sha256:2d01a16bab53a8405876cec4c27235d47455a7b72b75334c614f2fb0968b3f90 AS alpine-riscv64
37-
FROM alpine-${ALPINE_ARCH} AS alpinebase
38-
39-
4029
# xx is a helper for cross-compilation
4130
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
4231

@@ -220,7 +209,7 @@ RUN --mount=from=binaries \
220209
FROM scratch AS release
221210
COPY --link --from=releaser /out/ /
222211

223-
FROM alpinebase AS buildkit-export
212+
FROM alpine:${ALPINE_VERSION} AS buildkit-export
224213
RUN apk add --no-cache fuse3 git openssh pigz xz iptables ip6tables \
225214
&& ln -s fusermount3 /usr/bin/fusermount
226215
COPY --link examples/buildctl-daemonless/buildctl-daemonless.sh /usr/bin/
@@ -430,7 +419,7 @@ FROM integration-tests AS dev-env
430419
VOLUME /var/lib/buildkit
431420

432421
# Rootless mode.
433-
FROM alpinebase AS rootless
422+
FROM alpine:${ALPINE_VERSION} AS rootless
434423
RUN apk add --no-cache fuse3 fuse-overlayfs git openssh pigz shadow-uidmap xz
435424
RUN adduser -D -u 1000 user \
436425
&& mkdir -p /run/user/1000 /home/user/.local/tmp /home/user/.local/share/buildkit \

frontend/dockerfile/cmd/dockerfile-frontend/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile-upstream:master
22

33
ARG GO_VERSION=1.21
4-
ARG ALPINE_VERSION=3.19
4+
ARG ALPINE_VERSION=3.20
55
ARG XX_VERSION=1.4.0
66

77
# xx is a helper for cross-compilation

hack/dockerfiles/archutil.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile-upstream:master
22

33
ARG GO_VERSION=1.21
4-
ARG ALPINE_VERSION=3.19
4+
ARG ALPINE_VERSION=3.20
55
ARG DEBIAN_VERSION=trixie
66

77
FROM debian:${DEBIAN_VERSION}-slim AS base

hack/dockerfiles/authors.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile-upstream:master
22

3-
ARG ALPINE_VERSION=3.19
3+
ARG ALPINE_VERSION=3.20
44

55
FROM alpine:${ALPINE_VERSION} AS gen
66
RUN apk add --no-cache git

hack/dockerfiles/docs.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1
22

33
ARG GO_VERSION=1.21
4-
ARG ALPINE_VERSION=3.19
4+
ARG ALPINE_VERSION=3.20
55

66
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS golatest
77

hack/dockerfiles/lint.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile-upstream:master
22

33
ARG GO_VERSION=1.21
4-
ARG ALPINE_VERSION=3.19
4+
ARG ALPINE_VERSION=3.20
55
ARG XX_VERSION=1.4.0
66
ARG PROTOLINT_VERSION=0.45.0
77
ARG GOLANGCI_LINT_VERSION=1.57.1

hack/dockerfiles/vendor.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile-upstream:master
22

33
ARG GO_VERSION=1.21
4-
ARG ALPINE_VERSION=3.19
4+
ARG ALPINE_VERSION=3.20
55
ARG MODOUTDATED_VERSION=v0.9.0
66

77
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base

0 commit comments

Comments
 (0)