Skip to content

Commit

Permalink
build: use uid & gid 1500
Browse files Browse the repository at this point in the history
  • Loading branch information
ChecksumDev committed Oct 17, 2023
1 parent ebaaa87 commit adf86fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ FROM alpine:latest as runtime
RUN apk add --no-cache libgcc

# create a non-root user
RUN addgroup -S lumen && adduser -S lumen -G lumen
RUN addgroup -g 1500 lumen && \
adduser -H -D -u 1500 -G lumen lumen

# copy the binary from the builder
WORKDIR /app
Expand Down

0 comments on commit adf86fa

Please sign in to comment.