[GH-ISSUE #549] Do Not Run Dockerized Applications as Root #371

Closed
opened 2026-03-01 21:42:45 +03:00 by kerem · 0 comments
Owner

Originally created by @juebanlin on GitHub (Mar 3, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/549

We hope to have a container that is not at the root level, such as compiling openwrt to use。
for example dockerfile:
FROM openjdk:8-jdk-alpine
RUN addgroup -S spring && adduser -S spring -G spring
USER spring:spring
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]

Originally created by @juebanlin on GitHub (Mar 3, 2021). Original GitHub issue: https://github.com/nektos/act/issues/549 We hope to have a container that is not at the root level, such as compiling openwrt to use。 for example dockerfile: FROM openjdk:8-jdk-alpine RUN addgroup -S spring && adduser -S spring -G spring USER spring:spring ARG JAR_FILE=target/*.jar COPY ${JAR_FILE} app.jar ENTRYPOINT ["java","-jar","/app.jar"]
kerem 2026-03-01 21:42:45 +03:00
  • closed this issue
  • added the
    kind/bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#371
No description provided.