mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Fix failing ARM builds (#3278)
This commit is contained in:
parent
74b585a05f
commit
0aab2c382f
1 changed files with 4 additions and 1 deletions
|
|
@ -11,7 +11,10 @@ RUN if [ "$TARGETPLATFORM" = "linux/arm/v6" ]; then BIN=stash-linux-arm32v6; \
|
||||||
|
|
||||||
FROM --platform=$TARGETPLATFORM alpine:latest AS app
|
FROM --platform=$TARGETPLATFORM alpine:latest AS app
|
||||||
COPY --from=binary /stash /usr/bin/
|
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
|
ENV STASH_CONFIG_FILE=/root/.stash/config.yml
|
||||||
|
|
||||||
EXPOSE 9999
|
EXPOSE 9999
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue