Fix Dockerfile images?
Some checks failed
Deploy API / docker (ubuntu-latest, 2.44.0) (push) Failing after 4s
Some checks failed
Deploy API / docker (ubuntu-latest, 2.44.0) (push) Failing after 4s
This commit is contained in:
parent
025c78556b
commit
210d1c43d1
@ -1,5 +1,5 @@
|
||||
# Stage 1: Build the application
|
||||
FROM maven:3.9.6-eclipse-temurin-17-alpine AS builder
|
||||
FROM 3.9.9-eclipse-temurin-21-alpine AS builder
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /home/container
|
||||
@ -11,7 +11,7 @@ COPY . .
|
||||
RUN mvn package -q -Dmaven.test.skip -DskipTests -T2C
|
||||
|
||||
# Stage 2: Create the final lightweight image
|
||||
FROM eclipse-temurin:17.0.11_9-jre-focal
|
||||
FROM eclipse-temurin:21-jre-alpine
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /home/container
|
||||
|
Loading…
x
Reference in New Issue
Block a user