File tree 3 files changed +5
-5
lines changed
kotlin-web-spring-boot-3/docker 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
# FROM eclipse-temurin:17-jre-alpine AS builder
2
2
# Should move to use Ubuntu for production environment
3
3
# Refer: https://www.dotcms.com/blog/post/moving-to-ubuntu-for-our-docker-image
4
- FROM eclipse-temurin:21.0.2_13 -jre-alpine AS builder
4
+ FROM eclipse-temurin:21.0.5_11 -jre-alpine AS builder
5
5
ARG JAR_FILE=../build/libs/*.jar
6
6
WORKDIR /workspace/
7
7
COPY $JAR_FILE ./app.jar
8
8
RUN java -Djarmode=layertools -jar ./app.jar extract
9
9
10
- FROM eclipse-temurin:21.0.2_13 -jre-alpine
10
+ FROM eclipse-temurin:21.0.5_11 -jre-alpine
11
11
RUN addgroup webappgroup; adduser --ingroup webappgroup --disabled-password webapp
12
12
USER webapp
13
13
WORKDIR /workspace/
Original file line number Diff line number Diff line change 1
- FROM eclipse-temurin:21.0.2_13 -jdk-alpine AS builder
1
+ FROM eclipse-temurin:21.0.5_11 -jdk-alpine AS builder
2
2
ARG JAR_FILE=../build/libs/*.jar
3
3
WORKDIR /workspace/
4
4
RUN $JAVA_HOME/bin/jlink --add-modules java.se,jdk.jdwp.agent --strip-debug --no-man-pages --no-header-files --compress=2 --output ./jre/
Original file line number Diff line number Diff line change 1
1
# FROM eclipse-temurin:17-jre-alpine AS builder
2
2
# Should move to use Ubuntu for production environment
3
3
# Refer: https://www.dotcms.com/blog/post/moving-to-ubuntu-for-our-docker-image
4
- FROM eclipse-temurin:21.0.2_13 -jre-alpine AS builder
4
+ FROM eclipse-temurin:21.0.5_11 -jre-alpine AS builder
5
5
ARG JAR_FILE=../build/libs/*.jar
6
6
WORKDIR /workspace/
7
7
COPY $JAR_FILE ./app.jar
8
8
RUN java -Djarmode=layertools -jar ./app.jar extract
9
9
10
- FROM eclipse-temurin:21.0.2_13 -jre-alpine
10
+ FROM eclipse-temurin:21.0.5_11 -jre-alpine
11
11
RUN addgroup webappgroup; adduser --ingroup webappgroup --disabled-password webapp
12
12
USER webapp
13
13
WORKDIR /workspace/
You can’t perform that action at this time.
0 commit comments