瀏覽代碼

Add correct BASE_IMAGE for aarch64.

pull/56/head
Luigi Cruz 3 年之前
父節點
當前提交
4b40cdc12a
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. +8
    -1
      build-docker.sh

+ 8
- 1
build-docker.sh 查看文件

@@ -77,7 +77,14 @@ BUILD_OPTS="$(echo "${BUILD_OPTS:-}" | sed -E 's@\-c\s?([^ ]+)@-c /config@')"
# Check the arch of the machine we're running on. If it's 64-bit, use a 32-bit base image instead
case "$(uname -m)" in
x86_64|aarch64)
BASE_IMAGE=i386/debian:buster
case "$(uname -m)" in
aarch64)
BASE_IMAGE=arm32v7/debian:buster
;;
*)
BASE_IMAGE=i386/debian:buster
;;
esac
;;
*)
BASE_IMAGE=debian:buster


Loading…
取消
儲存