Skip to content

Commit

Permalink
Install parent pom
Browse files Browse the repository at this point in the history
  • Loading branch information
vivid-cpreston committed Nov 18, 2024
1 parent dcd1893 commit cc362c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ ARG CONTEXT="backend"
COPY --chown=quarkus:quarkus ./${CONTEXT} ./${CONTEXT}
COPY --chown=quarkus:quarkus ./buildtools ./buildtools
COPY ./pom.xml ./pom.xml
RUN cd buildtools && chmod +x ./mvnw && ./mvnw clean install --batch-mode -DskipTests && cd ..
RUN cd ${CONTEXT} && chmod +x ./mvnw && ./mvnw clean package --batch-mode -DskipTests
RUN chmod +x buildtools/mvnw && chmod +x ${CONTEXT}/mvnw && ./buildtools/mvnw clean install -N
RUN cd buildtools && ./mvnw clean install --batch-mode -DskipTests && cd ..
RUN cd ${CONTEXT} && ./mvnw clean package --batch-mode -DskipTests

# "A base image to run Quarkus native application using UBI Micro"
FROM quay.io/quarkus/quarkus-micro-image:2.0
Expand Down

0 comments on commit cc362c2

Please sign in to comment.