Skip to content

Commit

Permalink
docker: Fix/workaround docker buildx bug
Browse files Browse the repository at this point in the history
Fix envoyproxy#22261

Signed-off-by: Ryan Northey <[email protected]>
  • Loading branch information
phlax committed Jul 18, 2022
1 parent 3ee360c commit 4afaf70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/Dockerfile-envoy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ ARG ENVOY_VRP_BASE_IMAGE=envoy

FROM scratch AS binary

ARG TARGETPLATFORM=linux/amd64
ARG TARGETPLATFORM
ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
ARG ENVOY_BINARY=envoy
ARG ENVOY_BINARY_SUFFIX=_stripped
ADD ${TARGETPLATFORM}/build_${ENVOY_BINARY}_release${ENVOY_BINARY_SUFFIX}/envoy* /usr/local/bin/
Expand Down

0 comments on commit 4afaf70

Please sign in to comment.