Skip to content

Commit

Permalink
Use 2ms user/group instead of kics
Browse files Browse the repository at this point in the history
  • Loading branch information
kaplanlior committed Jun 12, 2023
1 parent 46afda2 commit 4adf46f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ RUN go build -o /app/2ms .
# ^^^^ disable kics Healthcheck result
FROM alpine:3.18

RUN addgroup -S kics && adduser -S kics -G kics
USER kics
RUN addgroup -S 2ms && adduser -S 2ms -G 2ms
USER 2ms

COPY --from=builder /app/2ms /2ms
ENTRYPOINT ["/2ms"]
Expand Down

0 comments on commit 4adf46f

Please sign in to comment.