Update Dockerfile to JDK 25.
All checks were successful
Jb-ssg-site CI Pipeline / ci (push) Successful in 2m18s
All checks were successful
Jb-ssg-site CI Pipeline / ci (push) Successful in 2m18s
This commit is contained in:
parent
d53058c8f6
commit
8240170ed8
@ -1,14 +1,12 @@
|
|||||||
FROM eclipse-temurin:21 AS build
|
FROM eclipse-temurin:25 AS build
|
||||||
LABEL authors="jessebrault"
|
LABEL authors="jessebrault"
|
||||||
WORKDIR /jb-ssg-site/
|
WORKDIR /jb-ssg-site/
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN --mount=type=secret,id=JBARCHIVA_USERNAME,env=JBARCHIVA_USERNAME \
|
RUN ./gradlew createSsgBinScript && \
|
||||||
--mount=type=secret,id=JBARCHIVA_PASSWORD,env=JBARCHIVA_PASSWORD \
|
|
||||||
./gradlew createSsgBinScript && \
|
|
||||||
bin/ssg build -g && \
|
bin/ssg build -g && \
|
||||||
./gradlew installServerDist
|
./gradlew installServerDist
|
||||||
|
|
||||||
FROM eclipse-temurin:21
|
FROM eclipse-temurin:25
|
||||||
LABEL authors="jessebrault"
|
LABEL authors="jessebrault"
|
||||||
WORKDIR /jb-ssg-site
|
WORKDIR /jb-ssg-site
|
||||||
COPY --from=build /jb-ssg-site/dist/ dist/
|
COPY --from=build /jb-ssg-site/dist/ dist/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user