From 0aab2c382f989c7eb367d1cb896191d50f9f66f5 Mon Sep 17 00:00:00 2001 From: SnZ <3882467+EsEnZeT@users.noreply.github.com> Date: Thu, 15 Dec 2022 01:28:18 +0100 Subject: [PATCH] Fix failing ARM builds (#3278) --- docker/ci/x86_64/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/ci/x86_64/Dockerfile b/docker/ci/x86_64/Dockerfile index a23763e65..5eff2ab1c 100644 --- a/docker/ci/x86_64/Dockerfile +++ b/docker/ci/x86_64/Dockerfile @@ -11,7 +11,10 @@ RUN if [ "$TARGETPLATFORM" = "linux/arm/v6" ]; then BIN=stash-linux-arm32v6; \ FROM --platform=$TARGETPLATFORM alpine:latest AS app COPY --from=binary /stash /usr/bin/ -RUN apk add --no-cache ca-certificates python3 py3-requests py3-requests-toolbelt py3-lxml py3-pip ffmpeg vips-tools ruby && pip install --no-cache-dir mechanicalsoup cloudscraper && gem install faraday +RUN apk add --no-cache --virtual .build-deps gcc python3-dev musl-dev \ + && apk add --no-cache ca-certificates python3 py3-requests py3-requests-toolbelt py3-lxml py3-pip ffmpeg vips-tools \ + && pip install mechanicalsoup cloudscraper bencoder.pyx \ + && apk del .build-deps ENV STASH_CONFIG_FILE=/root/.stash/config.yml EXPOSE 9999