From a232f70338f9b0656d0a1d58ccf16a330d2ba3e5 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Sun, 5 Nov 2023 18:56:16 +0800 Subject: [PATCH] fix: tls error on 32-bit arch --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 07a116d..f71e1af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN mkdir $(basename /usr/local/lib/python3.*/) && cd ./python3.*/ && \ COPY ./boot.py /release/bin/syncplay FROM ${PYTHON} -RUN apk add --no-cache libffi openssl +RUN sh -c '[ $(getconf LONG_BIT) -eq 64 ] || apk add --no-cache libgcc' COPY --from=syncplay /release/ /usr/ ENV PYTHONUNBUFFERED=1 EXPOSE 8999