Skip to content

Commit

Permalink
update docker image to use eclipse-temurin
Browse files Browse the repository at this point in the history
Use same as proposed here:

cBioPortal/cbioportal#9890
  • Loading branch information
inodb authored Jan 10, 2023
1 parent 4a35236 commit 7e6b0e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
# version 3, or (at your option) any later version.
#

FROM maven:3.6 as build
FROM maven:3-eclipse-temurin-11 as build
COPY $PWD /session-service
WORKDIR /session-service
RUN mvn package -DskipTests -Dpackaging.type=jar

FROM openjdk:11-jre-slim
FROM eclipse-temurin:11
# copy over target/session_service-x.y.z.jar ignore *-model.jar, that jar is
# used by cbioportal/cbioportal to import the models
COPY --from=build /session-service/target/*[0-9].jar /app.war
Expand Down

0 comments on commit 7e6b0e4

Please sign in to comment.