Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 234a7a0

Browse files
committed
fix: dockerfile
1 parent 42ed843 commit 234a7a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

revocation-service/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
FROM eclipse-temurin:17-jre-alpine
2121

2222
# run as non-root user
23-
RUN addgroup -g 11111 -S miw && adduser -u 11111 -S -s /bin/false -G miw miw
23+
RUN addgroup -g 11111 -S revocation-service && adduser -u 11111 -S -s /bin/false -G revocation-service revocation-service
2424

2525
# add curl for healthcheck
26-
RUN apt-get update && apt-get install -y curl
26+
RUN apk add curl
2727

28-
USER miw
28+
USER revocation-service
2929

3030
COPY ./LICENSE ./NOTICE.md ./revocation-service/DEPENDENCIES ./SECURITY.md ./revocation-service/build/libs/revocation-service-latest.jar /app/
3131

0 commit comments

Comments
 (0)