We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7192dc commit ff6ed25Copy full SHA for ff6ed25
1 file changed
Dockerfile
@@ -1,13 +1,10 @@
1
2
3
-FROM openjdk:21-jdk-alpine
+FROM eclipse-temurin:21-jdk-alpine
4
WORKDIR /app
5
6
-RUN apt-get update && \
7
- apt-get install -y curl && \
8
- rm -rf /var/lib/apt/lists/* && \
9
- apt-get clean && \
10
- addgroup --system spring && adduser --system spring --ingroup spring
+RUN apk add --no-cache curl && \
+ addgroup -S spring && adduser -S spring -G spring
11
12
COPY build/libs/ject*.jar app.jar
13
RUN chown spring:spring app.jar
0 commit comments