Просмотр исходного кода

revert arch detection

pull/64/head
Luigi Cruz 2 лет назад
Родитель
Сommit
5b977b7c8e
1 измененных файлов: 8 добавлений и 1 удалений
  1. +8
    -1
      build-docker.sh

+ 8
- 1
build-docker.sh Просмотреть файл

@@ -78,7 +78,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=arm32v7/debian:bullseye
case "$(uname -m)" in
aarch64)
BASE_IMAGE=arm32v7/debian:bullseye
;;
*)
BASE_IMAGE=i386/debian:bullseye
;;
esac
;;
*)
BASE_IMAGE=debian:bullseye


Загрузка…
Отмена
Сохранить