Skip to content

Commit

Permalink
Update AmazonCorretto to 8u412-al2023 (#147)
Browse files Browse the repository at this point in the history
* dep: update runtime image to AmazonCorretto 8u412-al2023

* feat: adding newline

* feat: JSONArgsRecommended CMD statement

* feat: back to shell form
  • Loading branch information
m0nhawk authored and pieterlukasse committed Jul 24, 2024
1 parent a904398 commit 37a4dda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/cdis/maven:3.6-jdk-11 as builder
FROM quay.io/cdis/maven:3.6-jdk-11 AS builder

WORKDIR /code

Expand Down Expand Up @@ -30,7 +30,7 @@ RUN mvn package ${MAVEN_PARAMS} \
&& rm WebAPI.war

# OHDSI WebAPI and ATLAS web application running as a Spring Boot application with Java 8
FROM amazoncorretto:8u402-al2023
FROM amazoncorretto:8u412-al2023

# Any Java options to pass along, e.g. memory, garbage collection, etc.
ENV JAVA_OPTS=""
Expand Down Expand Up @@ -72,4 +72,4 @@ RUN update-ca-trust
# Directly run the code as a WAR.
CMD exec java ${DEFAULT_JAVA_OPTS} ${JAVA_OPTS} \
-cp ".:WebAPI.jar:WEB-INF/lib/*.jar${CLASSPATH}" \
org.springframework.boot.loader.WarLauncher
org.springframework.boot.loader.WarLauncher

0 comments on commit 37a4dda

Please sign in to comment.