From 4e4195a7a25a12024ef91d9f4cd364d0a3c0f60d Mon Sep 17 00:00:00 2001 From: JordanSimpson Date: Tue, 21 May 2024 23:17:23 -0500 Subject: [PATCH] Specify java 21 runtime --- codebuild/buildspec.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codebuild/buildspec.yaml b/codebuild/buildspec.yaml index 862ed71..cc0c4bc 100644 --- a/codebuild/buildspec.yaml +++ b/codebuild/buildspec.yaml @@ -1,6 +1,8 @@ version: 0.2 phases: install: + runtime-versions: + java: corretto21 commands: - nohup /usr/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=vfs & - timeout 15 sh -c "until docker info; do sleep 1; done"