From d82c4a622a311f3dd5a3beffa14e53c099dd704d Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Wed, 22 Mar 2023 09:04:40 +0800 Subject: [PATCH] build: fix support of 32-bits --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 4b98771..0b69de0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ ARG PYTHON="python:3.7-alpine3.17" FROM ${PYTHON} as build ENV SYNCPLAY="1.6.9" RUN apk add gcc musl-dev libffi-dev +RUN if [ "$(getconf LONG_BIT)" == "32" ]; then apk add cargo openssl-dev; fi RUN wget https://github.com/Syncplay/syncplay/archive/refs/tags/v${SYNCPLAY}.tar.gz && \ tar xf v${SYNCPLAY}.tar.gz WORKDIR ./syncplay-${SYNCPLAY}/