We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dc5f53 commit f0bee44Copy full SHA for f0bee44
Dockerfile
@@ -12,10 +12,10 @@ RUN go build -o waitfor
12
FROM alpine:3.22.1
13
14
# Create a non-root user "app" to run the application
15
-RUN addgroup -S app && adduser -S app -G app
+RUN addgroup -g 1000 app && adduser -u 1000 -G app -S app
16
17
COPY --from=builder /app/waitfor /usr/local/bin/waitfor
18
19
-USER app
+USER 1000:1000
20
21
ENTRYPOINT ["waitfor"]
0 commit comments