We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc91ddb commit a1cd51fCopy full SHA for a1cd51f
Dockerfile
@@ -1,9 +1,10 @@
1
# syntax=docker/dockerfile:1
2
3
ARG GO_VERSION="1.22"
4
-ARG ALPINE_VERSION="3.19"
+ARG ALPINE_VERSION_BUILDER="3.18"
5
+ARG ALPINE_VERSION_RUNNER="3.19"
6
ARG BUILDPLATFORM=linux/amd64
-ARG BASE_IMAGE="golang:${GO_VERSION}-alpine${ALPINE_VERSION}"
7
+ARG BASE_IMAGE="golang:${GO_VERSION}-alpine${ALPINE_VERSION_BUILDER}"
8
9
# --------------------------------------------------------
10
# Builder
@@ -43,7 +44,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
43
44
# Runner
45
46
-FROM alpine:3.19 AS xion-base
47
+FROM alpine:${ALPINE_VERSION_RUNNER} AS xion-base
48
COPY --from=builder /xion/build/xiond /usr/bin/xiond
49
50
# api
0 commit comments