Skip to content

Commit

Permalink
Use temurin images - corretto doesn't support the commands we need
Browse files Browse the repository at this point in the history
  • Loading branch information
NToppingCCS committed Nov 19, 2024
1 parent dd0cbdf commit c5e9585
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
FROM maven:3.9.9-amazoncorretto-23 as build
FROM maven:3.9.9-eclipse-temurin-23 as build

RUN mkdir -p /tmp/build

WORKDIR /tmp/build

COPY . /tmp/build

# RUN mvn clean install -Dmaven.test.skip=true
# RUN mvn package -Dmaven.test.skip=true
RUN mvn clean install
RUN mvn package

# Use an official OpenJDK runtime as a base image
FROM amazoncorretto:23
FROM eclipse-temurin:23

RUN mkdir /app

Expand Down

0 comments on commit c5e9585

Please sign in to comment.