Skip to content

Commit f0bee44

Browse files
author
marcel
committed
fix userid
1 parent 1dc5f53 commit f0bee44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ RUN go build -o waitfor
1212
FROM alpine:3.22.1
1313

1414
# Create a non-root user "app" to run the application
15-
RUN addgroup -S app && adduser -S app -G app
15+
RUN addgroup -g 1000 app && adduser -u 1000 -G app -S app
1616

1717
COPY --from=builder /app/waitfor /usr/local/bin/waitfor
1818

19-
USER app
19+
USER 1000:1000
2020

2121
ENTRYPOINT ["waitfor"]

0 commit comments

Comments
 (0)