Skip to content

Commit

Permalink
Use Java 11 for the backend
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher committed Aug 1, 2024
1 parent fc37352 commit c6ff29a
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
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

### Dev Stage
FROM openmrs/openmrs-core:dev as dev
FROM openmrs/openmrs-core:dev-amazoncorretto-11 as dev
WORKDIR /openmrs_distro

ARG MVN_ARGS_SETTINGS="-s /usr/share/maven/ref/settings-docker.xml -U -P distro"
Expand All @@ -25,7 +25,7 @@ RUN mvn $MVN_ARGS_SETTINGS clean

### Run Stage
# Replace 'nightly' with the exact version of openmrs-core built for production (if available)
FROM openmrs/openmrs-core:nightly
FROM openmrs/openmrs-core:nightly-amazoncorretto-11

# Do not copy the war if using the correct openmrs-core image version
COPY --from=dev /openmrs/distribution/openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/
Expand Down

0 comments on commit c6ff29a

Please sign in to comment.