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
205
205
DOCKERRAN=false
206
206
207
207
CPU_ARCH=$( echo " $MACHTYPE " | cut -d- -f1)
208
- if [ " $CPU_ARCH " = " aarch64" ]; then
208
+ if [[ " $CPU_ARCH " = " aarch64" || " $CPU_ARCH " = " arm64 " ] ]; then
209
209
DOCKERFILE=" ${BASEDIR} /dev-support/docker/Dockerfile_aarch64"
210
210
fi
211
211
@@ -513,7 +513,7 @@ function dockermode
513
513
514
514
# we always force build with the OpenJDK JDK
515
515
# but with the correct version
516
- if [ " $CPU_ARCH " = " aarch64" ]; then
516
+ if [[ " $CPU_ARCH " = " aarch64" || " $CPU_ARCH " = " arm64 " ] ]; then
517
517
echo " ENV JAVA_HOME /usr/lib/jvm/java-${JVM_VERSION} -openjdk-arm64"
518
518
else
519
519
echo " ENV JAVA_HOME /usr/lib/jvm/java-${JVM_VERSION} -openjdk-amd64"
You can’t perform that action at this time.
0 commit comments