⬆️ Update eclipse-temurin Docker tag to v21.0.1_12-jdk-alpine - autoclosed #1
@ -1,4 +1,4 @@
|
|||||||
FROM eclipse-temurin:21-jdk-alpine AS build
|
FROM eclipse-temurin:21.0.1_12-jdk-alpine AS build
|
||||||
WORKDIR /workspace/app
|
WORKDIR /workspace/app
|
||||||
COPY . /workspace/app
|
COPY . /workspace/app
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ RUN ./gradlew clean build
|
|||||||
RUN mkdir -p build/dependency && (cd build/dependency; jar -xf ../libs/*.jar)
|
RUN mkdir -p build/dependency && (cd build/dependency; jar -xf ../libs/*.jar)
|
||||||
|
|
||||||
|
|
||||||
FROM eclipse-temurin:21-jdk-alpine
|
FROM eclipse-temurin:21.0.1_12-jdk-alpine
|
||||||
ARG DEPENDENCY=/workspace/app/build/dependency
|
ARG DEPENDENCY=/workspace/app/build/dependency
|
||||||
COPY --from=build ${DEPENDENCY}/BOOT-INF/lib /app/lib
|
COPY --from=build ${DEPENDENCY}/BOOT-INF/lib /app/lib
|
||||||
COPY --from=build ${DEPENDENCY}/META-INF /app/META-INF
|
COPY --from=build ${DEPENDENCY}/META-INF /app/META-INF
|
||||||
|
Loading…
Reference in New Issue
Block a user