From d3d68537ab138f57f5b8733b4371476ce7fd2d4c Mon Sep 17 00:00:00 2001 From: mpeddada1 Date: Mon, 8 Jul 2024 19:57:52 +0000 Subject: [PATCH 1/2] chore: update graal-11 image to Graalvm for JDK 17 community image --- .cloudbuild/graalvm-a.Dockerfile | 2 +- .cloudbuild/graalvm-a.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cloudbuild/graalvm-a.Dockerfile b/.cloudbuild/graalvm-a.Dockerfile index 41505aa6..485fd938 100644 --- a/.cloudbuild/graalvm-a.Dockerfile +++ b/.cloudbuild/graalvm-a.Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM ghcr.io/graalvm/graalvm-ce:ol7-java11-22.3.3-b1 +FROM ghcr.io/graalvm/graalvm-community:17.0.9-ol9 RUN gu install native-image && \ yum update -y && \ diff --git a/.cloudbuild/graalvm-a.yaml b/.cloudbuild/graalvm-a.yaml index 9416153e..06db3dcf 100644 --- a/.cloudbuild/graalvm-a.yaml +++ b/.cloudbuild/graalvm-a.yaml @@ -17,7 +17,7 @@ commandTests: - name: "version" command: ["java", "-version"] # java -version outputs to stderr... - expectedError: ["openjdk version \"11.0.20\"", "GraalVM CE 22.3.3"] + expectedError: ["openjdk version \"17.0.9\"", "GraalVM CE 17.0.9"] - name: "maven" command: ["mvn", "-version"] expectedOutput: ["Apache Maven 3.9.4"] From 9a79cde7034238e6dcfbee71b0d5e52595f070be Mon Sep 17 00:00:00 2001 From: mpeddada1 Date: Mon, 8 Jul 2024 20:36:21 +0000 Subject: [PATCH 2/2] use ol7 for now --- .cloudbuild/graalvm-a.Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.cloudbuild/graalvm-a.Dockerfile b/.cloudbuild/graalvm-a.Dockerfile index 485fd938..af96946f 100644 --- a/.cloudbuild/graalvm-a.Dockerfile +++ b/.cloudbuild/graalvm-a.Dockerfile @@ -12,8 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM ghcr.io/graalvm/graalvm-community:17.0.9-ol9 - +FROM ghcr.io/graalvm/graalvm-community:17.0.9-ol7 RUN gu install native-image && \ yum update -y && \ yum install -y wget unzip git && \