Skip to content

Commit

Permalink
source platform-specific console image to silence BuildKit warning
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Aug 21, 2024
1 parent 5af919f commit 2849cbe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dist/docker-images/ziti-controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
ARG ZITI_CLI_TAG="latest"
ARG ZITI_CLI_IMAGE="docker.io/openziti/ziti-cli"

# provide a default value for the platform-neutral static console files
ARG TARGETPLATFORM="linux/amd64"

# dependabot bumps this version based on release to Hub
# only amd64 is available because only static assets are copied, not executables
FROM --platform=linux/amd64 openziti/ziti-console-assets:3.4.5 AS ziti-console
FROM --platform=${TARGETPLATFORM} openziti/ziti-console-assets:3.4.5 AS ziti-console

FROM ${ZITI_CLI_IMAGE}:${ZITI_CLI_TAG}

Expand Down

0 comments on commit 2849cbe

Please sign in to comment.