File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ function set_defaults
205205 DOCKERRAN=false
206206
207207 CPU_ARCH=$( echo " $MACHTYPE " | cut -d- -f1)
208- if [ " $CPU_ARCH " = " aarch64" ]; then
208+ if [[ " $CPU_ARCH " = " aarch64" || " $CPU_ARCH " = " arm64 " ] ]; then
209209 DOCKERFILE=" ${BASEDIR} /dev-support/docker/Dockerfile_aarch64"
210210 fi
211211
@@ -514,7 +514,7 @@ function dockermode
514514
515515 # we always force build with the OpenJDK JDK
516516 # but with the correct version
517- if [ " $CPU_ARCH " = " aarch64" ]; then
517+ if [[ " $CPU_ARCH " = " aarch64" || " $CPU_ARCH " = " arm64 " ] ]; then
518518 echo " ENV JAVA_HOME /usr/lib/jvm/java-${JVM_VERSION} -openjdk-arm64"
519519 else
520520 echo " ENV JAVA_HOME /usr/lib/jvm/java-${JVM_VERSION} -openjdk-amd64"
You can’t perform that action at this time.
0 commit comments