diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-03-01 12:54:20 +0100 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-03-01 12:54:20 +0100 |
commit | 7442acca84828844f4e733c7b8be8a3971632a78 (patch) | |
tree | e383a033c58da9b27626900e4efcb5978e50f25b | |
parent | c3c2eec967891108459c45786f8e98a85004e678 (diff) |
portal-ng pods run under root user
- use non-root 'nobody' user
Issue-ID: PORTALNG-67
Change-Id: I9f5c90b1dc51565630309ce4f55fc7cfe8840145
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
-rw-r--r-- | Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5,6 +5,7 @@ WORKDIR /bff RUN ./gradlew assemble FROM eclipse-temurin:17-jre-alpine +USER nobody ARG JAR_FILE=/bff/app/build/libs/app.jar COPY --from=builder ${JAR_FILE} app.jar EXPOSE 9080 |