diff --git a/core/base/Dockerfile b/core/base/Dockerfile index a661877b..d5be6a90 100644 --- a/core/base/Dockerfile +++ b/core/base/Dockerfile @@ -45,10 +45,10 @@ RUN set -euxo pipefail \ { \ machine="$(uname -m)" \ ; deps="build-base gcc libffi-dev python3-dev" \ - ; [[ "${machine}" == armv7 ]] && \ + ; [[ "${machine}" != x86_64 ]] && \ deps="${deps} cargo git libressl-dev mariadb-connector-c-dev postgresql-dev" \ ; apk add --virtual .build-deps ${deps} \ - ; [[ "${machine}" == armv7 ]] && \ + ; [[ "${machine}" == armv7* ]] && \ mkdir -p /root/.cargo/registry/index && \ git clone --bare https://github.com/rust-lang/crates.io-index.git /root/.cargo/registry/index/github.com-1285ae84e5963aae \ ; pip install -r requirements-${MAILU_DEPS}.txt \