Skip to content

Commit

Permalink
Update java image to amazoncorretto
Browse files Browse the repository at this point in the history
  • Loading branch information
dippindots committed Oct 31, 2024
1 parent 8c934c4 commit 3fab7e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 2
jobs:
build_backend:
docker:
- image: maven:3-eclipse-temurin-21
- image: maven:3-amazoncorretto-21
working_directory: /tmp/repos/cbioportal
steps:
- checkout
Expand Down
4 changes: 2 additions & 2 deletions docker/web-and-data/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# NOTE: the .git folder is included in the build stage, but excluded
# from the final image. No confidential information is exposed.
# (see: stackoverflow.com/questions/56278325)
FROM maven:3-eclipse-temurin-21 as build
FROM maven:3-amazoncorretto-21 as build

# download maven dependencies first to take advantage of docker caching
COPY pom.xml /cbioportal/
Expand All @@ -26,7 +26,7 @@ COPY $PWD /cbioportal
RUN mvn install package -DskipTests -q
RUN mkdir -p target/dependency && (cd target/dependency; jar -xf ../*-exec.jar)

FROM eclipse-temurin:21
FROM amazoncorretto:21

# download system dependencies first to take advantage of docker caching
RUN apt-get update; apt-get install -y --no-install-recommends \
Expand Down
4 changes: 2 additions & 2 deletions docker/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
#
# WARNING: the shendoah image is a nightly, untested, experimental build. If
# you want to use an official openjdk image instead use the web-and-data image.
FROM maven:3-eclipse-temurin-21 as build
FROM maven:3-amazoncorretto-21 as build
COPY $PWD /cbioportal
WORKDIR /cbioportal
ARG MAVEN_OPTS=-DskipTests
# Use quite output so we can see the build steps easily
RUN mvn ${MAVEN_OPTS} clean install -q
FROM eclipse-temurin:21
FROM amazoncorretto:21

ENV PORTAL_WEB_HOME=/cbioportal-webapp
RUN mkdir -p $PORTAL_WEB_HOME
Expand Down

0 comments on commit 3fab7e3

Please sign in to comment.