From bba201c3aa51c3f1d5bd681dfd63e2363545644e Mon Sep 17 00:00:00 2001 From: Christian Bargmann Date: Tue, 17 Oct 2023 11:20:07 +0200 Subject: [PATCH] fix: use user-defined java version instead of the default version (#32) * fix: use user-defined java version instead of the default version * add James as CODEOWNER --- CODEOWNERS | 2 +- Dockerfiles/ubuntu/22.04/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CODEOWNERS b/CODEOWNERS index 91a549f..6939d23 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -6,4 +6,4 @@ # the repo. Unless a later match takes precedence, # mentioned account names will be requested for # review when someone opens a pull request. -* @oppermax @msiuts @djablonski-moia @snowiow @guusvw @cbrgm +* @oppermax @msiuts @djablonski-moia @snowiow @guusvw @cbrgm @jvm986 diff --git a/Dockerfiles/ubuntu/22.04/Dockerfile b/Dockerfiles/ubuntu/22.04/Dockerfile index 0f3d556..f67da13 100755 --- a/Dockerfiles/ubuntu/22.04/Dockerfile +++ b/Dockerfiles/ubuntu/22.04/Dockerfile @@ -67,7 +67,7 @@ RUN curl --silent --output /tmp/corretto.key https://apt.corretto.aws/corretto. && apt-key add /tmp/corretto.key \ && echo "deb https://apt.corretto.aws stable main" > /etc/apt/sources.list.d/java.list \ && apt-get update \ - && apt-get install -y java-${DEFAULT_JAVA_VERSION}-amazon-corretto-jdk + && apt-get install -y java-${JAVA_VERSION}-amazon-corretto-jdk # -----------------------Begin: moia codebuild image ----------------------- FROM runtimes AS moia_codebuild