We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48d00c4 commit f3485edCopy full SHA for f3485ed
1 file changed
Dockerfile
@@ -40,11 +40,16 @@ USER $USER_NAME
40
RUN mvn package -Pjar -DskipTests=true
41
42
# Switch to Normal JRE Stage.
43
-FROM openjdk:11-jre-slim
+FROM eclipse-temurin:11-jre-noble
44
ARG USER_ID
45
ARG USER_NAME
46
ARG SOURCE_DIR
47
48
+RUN apt-get update && \
49
+ apt-get upgrade -y && \
50
+ apt-get clean && \
51
+ rm -rf /var/lib/apt/lists/*
52
+
53
# Create the user and group (use a high ID to attempt to avoid conflicts).
54
RUN groupadd --non-unique -g $USER_ID $USER_NAME && \
55
useradd --non-unique -d /$USER_NAME -m -u $USER_ID -g $USER_ID $USER_NAME
0 commit comments