Skip to content

Commit

Permalink
chown /.kube dir
Browse files Browse the repository at this point in the history
Needed to make api discovery caches actually work (wonder if this is also adding a lot of agent latency)
  • Loading branch information
michaeljguarino committed Jul 12, 2024
1 parent 89fb29d commit 76dc717
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} GO111MODULE=on go build -a -o
FROM alpine:3.20
WORKDIR /workspace

RUN mkdir /.kube && chown 65532:65532 /.kube

COPY --from=builder /workspace/deployment-agent .
USER 65532:65532


ENTRYPOINT ["/workspace/deployment-agent"]

0 comments on commit 76dc717

Please sign in to comment.