Skip to content

Commit 01fee15

Browse files
authored
fix: avoid using root user in plugin container (argoproj#1256)
Signed-off-by: Hui Kang <[email protected]>
1 parent 3929fb9 commit 01fee15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ FROM docker.io/library/ubuntu:20.10 as kubectl-argo-rollouts
7373

7474
COPY --from=argo-rollouts-build /go/src/github.com/argoproj/argo-rollouts/dist/kubectl-argo-rollouts-linux-amd64 /bin/kubectl-argo-rollouts
7575

76+
USER 999
77+
7678
WORKDIR /home/argo-rollouts
7779

7880
ENTRYPOINT ["/bin/kubectl-argo-rollouts"]

0 commit comments

Comments
 (0)