Skip to content

Commit

Permalink
chore: Change the name of the WORKDIR in Dockerfile (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
shorim authored Mar 12, 2024
1 parent 0677596 commit fdac4fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down

0 comments on commit fdac4fd

Please sign in to comment.