cmd: ensure proper arch is used for docker container
This commit is contained in:
parent
d961437889
commit
7eab859030
@ -1,8 +1,9 @@
|
|||||||
|
ARG DOCKER_ARCH
|
||||||
|
|
||||||
# Fetch ca-certificates file for arch independent builds below
|
# Fetch ca-certificates file for arch independent builds below
|
||||||
FROM alpine as ca-cert
|
FROM alpine as ca-cert
|
||||||
RUN apk -U add ca-certificates
|
RUN apk -U add ca-certificates
|
||||||
|
|
||||||
ARG DOCKER_ARCH
|
|
||||||
FROM ${DOCKER_ARCH:-amd64}/alpine
|
FROM ${DOCKER_ARCH:-amd64}/alpine
|
||||||
ARG TAG
|
ARG TAG
|
||||||
ARG GOARCH
|
ARG GOARCH
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
|
ARG DOCKER_ARCH
|
||||||
|
|
||||||
# Fetch ca-certificates file for arch independent builds below
|
# Fetch ca-certificates file for arch independent builds below
|
||||||
FROM alpine as ca-cert
|
FROM alpine as ca-cert
|
||||||
RUN apk -U add ca-certificates
|
RUN apk -U add ca-certificates
|
||||||
|
|
||||||
ARG DOCKER_ARCH
|
|
||||||
FROM ${DOCKER_ARCH:-amd64}/alpine
|
FROM ${DOCKER_ARCH:-amd64}/alpine
|
||||||
ARG TAG
|
ARG TAG
|
||||||
ARG GOARCH
|
ARG GOARCH
|
||||||
|
Loading…
Reference in New Issue
Block a user