From fdac4fd76ec2ac33098c1de85dcd5799dd654997 Mon Sep 17 00:00:00 2001 From: Mostafa Shorim Date: Tue, 12 Mar 2024 10:15:07 +0100 Subject: [PATCH] chore: Change the name of the WORKDIR in Dockerfile (#875) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6d06fae62..a83f05a60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Build the manager binary FROM golang:1.22.1-bullseye as builder -WORKDIR /workspace +WORKDIR /telemetry-manager-workspace # Copy the Go Modules manifests COPY go.mod go.mod COPY go.sum go.sum @@ -23,7 +23,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go mod tidy && go build -a -o manager FROM europe-docker.pkg.dev/kyma-project/prod/tpi/fluent-bit:2.2.1-8adfb683 WORKDIR / -COPY --from=builder /workspace/manager . +COPY --from=builder /telemetry-manager-workspace/manager . USER 65532:65532