mirror of
https://github.com/adityachandelgit/BookLore.git
synced 2026-01-06 09:09:55 -06:00
Fix build (#1697)
This commit is contained in:
@@ -14,7 +14,7 @@ COPY ./booklore-ui /angular-app/
|
||||
RUN npm run build --configuration=production
|
||||
|
||||
# Stage 2: Build the Spring Boot app with Gradle
|
||||
FROM gradle:9.1-jdk25-alpine AS springboot-build
|
||||
FROM gradle:8.14.3-jdk21-alpine AS springboot-build
|
||||
|
||||
WORKDIR /springboot-app
|
||||
|
||||
@@ -29,7 +29,7 @@ RUN apk add --no-cache yq && \
|
||||
RUN gradle clean build -x test
|
||||
|
||||
# Stage 3: Final image
|
||||
FROM eclipse-temurin:25-jre-alpine
|
||||
FROM eclipse-temurin:21.0.9_10-jre-alpine
|
||||
|
||||
ARG APP_VERSION
|
||||
ARG APP_REVISION
|
||||
@@ -43,7 +43,7 @@ LABEL org.opencontainers.image.title="BookLore" \
|
||||
org.opencontainers.image.version=$APP_VERSION \
|
||||
org.opencontainers.image.revision=$APP_REVISION \
|
||||
org.opencontainers.image.licenses="GPL-3.0" \
|
||||
org.opencontainers.image.base.name="docker.io/library/eclipse-temurin:25-jre-alpine"
|
||||
org.opencontainers.image.base.name="docker.io/library/eclipse-temurin:21.0.9_10-jre-alpine"
|
||||
|
||||
RUN apk update && apk add nginx gettext su-exec
|
||||
|
||||
|
||||
Reference in New Issue
Block a user