Skip to content

Commit 5f34df7

Browse files
committed
fix architecture for docker builds
it seems that specifing the platform arg is not needed / incorrect for github actions: docker/build-push-action#668 (comment) resolves #1287
1 parent 908df50 commit 5f34df7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
FROM --platform=${BUILDPLATFORM} golang:1.20
1+
FROM golang:1.20
2+
3+
ARG TARGETPLATFORM
4+
ARG BUILDPLATFORM
5+
RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM"
26

37
LABEL org.opencontainers.image.source https://github.com/cloudflare/cfssl
48
LABEL org.opencontainers.image.description "Cloudflare's PKI toolkit"

0 commit comments

Comments
 (0)