Skip to content

Commit d7181e4

Browse files
authored
Merge pull request #6185 from thaJeztah/alpine_doc
Dockerfile: document ALPINE_VERSION build-arg
2 parents 7d574b8 + 8b6436e commit d7181e4

File tree

5 files changed

+18
-0
lines changed

5 files changed

+18
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# syntax=docker/dockerfile:1
22

33
ARG BASE_VARIANT=alpine
4+
5+
# ALPINE_VERSION sets the version of the alpine base image to use, including for the golang image.
6+
# It must be a supported tag in the docker.io/library/alpine image repository
7+
# that's also available as alpine image variant for the Golang version used.
48
ARG ALPINE_VERSION=3.21
59
ARG BASE_DEBIAN_DISTRO=bookworm
610

dockerfiles/Dockerfile.authors

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# syntax=docker/dockerfile:1
22

3+
# ALPINE_VERSION sets the version of the alpine base image to use.
4+
# It must be a supported tag in the docker.io/library/alpine image repository.
35
ARG ALPINE_VERSION=3.21
46

57
FROM alpine:${ALPINE_VERSION} AS gen

dockerfiles/Dockerfile.dev

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# syntax=docker/dockerfile:1
22

33
ARG GO_VERSION=1.24.5
4+
5+
# ALPINE_VERSION sets the version of the alpine base image to use, including for the golang image.
6+
# It must be a supported tag in the docker.io/library/alpine image repository
7+
# that's also available as alpine image variant for the Golang version used.
48
ARG ALPINE_VERSION=3.21
59

610
# BUILDX_VERSION sets the version of buildx to install in the dev container.

dockerfiles/Dockerfile.lint

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# syntax=docker/dockerfile:1
22

33
ARG GO_VERSION=1.24.5
4+
5+
# ALPINE_VERSION sets the version of the alpine base image to use, including for the golang image.
6+
# It must be a supported tag in the docker.io/library/alpine image repository
7+
# that's also available as alpine image variant for the Golang version used.
48
ARG ALPINE_VERSION=3.21
59
ARG GOLANGCI_LINT_VERSION=v2.1.5
610

dockerfiles/Dockerfile.vendor

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# syntax=docker/dockerfile:1
22

33
ARG GO_VERSION=1.24.5
4+
5+
# ALPINE_VERSION sets the version of the alpine base image to use, including for the golang image.
6+
# It must be a supported tag in the docker.io/library/alpine image repository
7+
# that's also available as alpine image variant for the Golang version used.
48
ARG ALPINE_VERSION=3.21
59
ARG MODOUTDATED_VERSION=v0.8.0
610

0 commit comments

Comments
 (0)