- Download RPM packages for x64 and ARM 64 from
https://www.oracle.com/java/technologies/downloads/#java8
and put them in the directory with
Dockerfile
. - Build the image with
docker build -t oraclejdk .
or withpodman build -t oraclejdk .
to use locally. - Build the multi-arch image and push it to Google Cloud Container Registry
with
gcloud builds submit . --config=cloudbuild.yaml
.