Use user in container instead of root
This commit is contained in:
parent
f5ced6a851
commit
14b4bafa25
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
FROM alpine:3.16
|
||||
|
||||
RUN apk add --no-cache gawk git gnupg tar openssh-client-default xz
|
||||
RUN apk add --no-cache gawk git gnupg tar openssh-client-default xz && \
|
||||
adduser -h /work -D -u 1000 drone
|
||||
|
|
|
|||
Reference in a new issue