Add user 'notatio'
This commit is contained in:
parent
c2a76ed51a
commit
7da4f9830f
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ RUN go build -o /notatio
|
|||
|
||||
# Stage 2: Create the final image
|
||||
FROM docker.io/library/alpine:3.18.4
|
||||
# Add the user notatio and create its home directory
|
||||
RUN adduser -D -g '' notatio
|
||||
USER notatio
|
||||
WORKDIR /
|
||||
|
||||
|
|
Loading…
Reference in a new issue