Skip to content

Commit

Permalink
Use the .m2 from Jenkins container
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcolon021 committed Jan 8, 2025
1 parent 750ce6e commit 39b427c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions docker/pic-sure-hpds-etl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM hms-dbmi/pic-sure-api:release_083e420 AS dependencies

FROM maven:3.9.4-amazoncorretto-21 AS build
WORKDIR /app

COPY /root/.m2 /root/.m2

COPY . .
COPY --from=dependencies /root/.m2 /root/.m2

RUN mvn clean install -DskipTests

Expand Down
6 changes: 3 additions & 3 deletions docker/pic-sure-hpds/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM hms-dbmi/pic-sure-api:release_083e420 AS dependencies

FROM maven:3.9.4-amazoncorretto-21 AS build

WORKDIR /app

COPY /root/.m2 /root/.m2

COPY . .
COPY --from=dependencies /root/.m2 /root/.m2

RUN mvn clean install -DskipTests

Expand Down

0 comments on commit 39b427c

Please sign in to comment.