Skip to content

Commit

Permalink
Merge pull request #1289 from cloudflare/nicky/docker-arch
Browse files Browse the repository at this point in the history
fix architecture for docker builds
  • Loading branch information
nickysemenza committed May 12, 2023
2 parents 214bd57 + 5f34df7 commit 58b12e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
@@ -1,4 +1,8 @@
FROM --platform=${BUILDPLATFORM} golang:1.20
FROM golang:1.20

ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM"

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

0 comments on commit 58b12e7

Please sign in to comment.