File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 11ARG ALPINE_VERSION=3.17
22ARG GO_VERSION=1.19
33ARG COMPOSE_VERSION=2.16.0
4+ ARG DOCKER_VERSION=20.10.24-r2
5+ ARG CURL_VERSION=8.9.0-r0
46
57FROM golang:${GO_VERSION} AS builder
68RUN export GOBIN=$HOME/work/bin
@@ -13,6 +15,8 @@ RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o main .
1315
1416FROM alpine:${ALPINE_VERSION}
1517ARG COMPOSE_VERSION
18+ ARG DOCKER_VERSION
19+ ARG CURL_VERSION
1620ARG BUILD_DATE
1721ARG VCS_REF
1822ARG TARGETPLATFORM
@@ -22,7 +26,7 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
2226 org.label-schema.vcs-ref=$VCS_REF \
2327 org.label-schema.vcs-url="https://github.com/virtualzone/compose-updater" \
2428 org.label-schema.schema-version="1.0"
25- RUN apk --no-cache add docker curl
29+ RUN apk --no-cache add docker=$DOCKER_VERSION curl=$CURL_VERSION
2630RUN \
2731 case ${TARGETPLATFORM} in \
2832 "linux/amd64" ) DOWNLOAD_ARCH="x86_64" ;; \
You can’t perform that action at this time.
0 commit comments