Skip to content
Snippets Groups Projects
Unverified Commit 3df4bfe0 authored by Olivier Cazade's avatar Olivier Cazade Committed by GitHub
Browse files

Fix dockerfile targetarch scope with docker (#128)

parent 5017b423
No related branches found
No related tags found
No related merge requests found
# We do not use --platform feature to auto fill this ARG because of incompatibility between podman and docker
ARG TARGETPLATFORM=linux/amd64
ARG BUILDPLATFORM=linux/amd64
ARG TARGETARCH=amd64
# Build the manager binary
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.19 as builder
ARG TARGETARCH
ARG TARGETPLATFORM
ARG TARGETARCH=amd64
ARG VERSION="unknown"
WORKDIR /opt/app-root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment