Skip to content

Commit

Permalink
🐳 Change platform
Browse files Browse the repository at this point in the history
Signed-off-by: vankichi <[email protected]>
  • Loading branch information
vankichi committed Feb 9, 2024
1 parent 2c641b7 commit dc0a412
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dockers/agent/core/ngt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ ARG DISTROLESS_IMAGE=gcr.io/distroless/static
ARG DISTROLESS_IMAGE_TAG=nonroot
ARG MAINTAINER="vdaas.org vald team <[email protected]>"

FROM --platform=${BUILDPLATFORM} ubuntu:devel AS builder
FROM --platform=${TARGETPLATFORM} ubuntu:devel AS builder

ARG TARGETARCH
ARG TARGETOS
ARG GO_VERSION
ARG TARGETPLATFORM
ARG BUILDPLATFORM

ENV GO111MODULE on
ENV DEBIAN_FRONTEND noninteractive
Expand Down

0 comments on commit dc0a412

Please sign in to comment.