Skip to content

Commit

Permalink
adjust dockerfile to new image-builder (kyma-project#1011)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolodziejczak authored Sep 10, 2024
1 parent df5a259 commit ff45699
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG TARGETARCH
ARG GO_BUILD_TAGS
ARG VERSION=dev

WORKDIR /workspace
WORKDIR /istio-build
# Copy the Go Modules manifests
COPY go.mod go.mod
COPY go.sum go.sum
Expand Down Expand Up @@ -33,8 +33,8 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:-amd64} go build -
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:nonroot
WORKDIR /
COPY --from=builder /workspace/manager .
COPY --from=builder /workspace/istio_install .
COPY --from=builder /istio-build/manager .
COPY --from=builder /istio-build/istio_install .

USER 65532:65532

Expand Down

0 comments on commit ff45699

Please sign in to comment.