8000 Merge pull request #1289 from cloudflare/nicky/docker-arch · cloudflare/cfssl@58b12e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 58b12e7

Browse files
authored
Merge pull request #1289 from cloudflare/nicky/docker-arch
fix architecture for docker builds
2 parents 214bd57 + 5f34df7 commit 58b12e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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)
0