diff --git a/docker/Dockerfile b/docker/Dockerfile index 79877209..57c8f09d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -7,6 +7,9 @@ FROM base AS builder ARG BUILD_DATE RUN apt-get update \ && apt-get install -y curl tar gcc \ + && if [ "$(uname -m)" = "armv7l" ]; then \ + apt-get install -y libxml2-dev libxslt1-dev zlib1g-dev libffi-dev; \ + fi \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* COPY ../app/ /build/app/ diff --git a/docker/Dockerfile.multiarch b/docker/Dockerfile.multiarch index ab5dd6ba..3ccdb49f 100644 --- a/docker/Dockerfile.multiarch +++ b/docker/Dockerfile.multiarch @@ -11,7 +11,7 @@ ARG BUILD_DATE RUN apt-get update \ && apt-get install -y curl tar gcc \ && if [ "${TARGETARCH}" = "arm" ]; then \ - apt-get install -y libxml2-dev libxslt1-dev; \ + apt-get install -y libxml2-dev libxslt1-dev zlib1g-dev libffi-dev; \ fi \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*