From 031a157ad9f3f966e47114b1c7dc7dd014963eec Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Tue, 15 Nov 2022 17:25:44 +0100 Subject: [PATCH] fix the linux/arm/v7 build --- core/base/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/base/Dockerfile b/core/base/Dockerfile index 35bcbd15..1ddffc1b 100644 --- a/core/base/Dockerfile +++ b/core/base/Dockerfile @@ -8,11 +8,13 @@ ENV TZ=Etc/UTC LANG=C.UTF-8 ARG MAILU_UID=1000 ARG MAILU_GID=1000 +ARG TARGETPLATFORM RUN set -euxo pipefail \ ; addgroup -Sg ${MAILU_GID} mailu \ ; adduser -Sg ${MAILU_UID} -G mailu -h /app -g "mailu app" -s /bin/bash mailu \ ; apk add --no-cache bash ca-certificates curl python3 tzdata \ + ; if [[ "$TARGETPLATFORM" == 'linux/arm/v7' ]]; then exit;fi \ ; machine="$(uname -m)" \ ; if [[ "${machine}" == x86_64 || "${machine}" == armv8* || "${machine}" == aarch64 ]] \ ; then \