From 7da4f9830fb801414b7d9c6ed727f9551fbbee32 Mon Sep 17 00:00:00 2001 From: musselman Date: Tue, 21 Nov 2023 12:54:35 -0600 Subject: [PATCH] Add user 'notatio' --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index e86610c..1d93080 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 /