Skip to content

Commit b66ba98

Browse files
committed
build: syncplay version 1.7.0-RC1
1 parent 42b2c2d commit b66ba98

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
ARG PYTHON="python:3.9-alpine3.17"
22

33
FROM ${PYTHON} as build
4-
ENV SYNCPLAY="1.6.9"
4+
ENV SYNCPLAY="1.7.0-RC1"
55
RUN apk add gcc musl-dev libffi-dev
66
RUN if [ "$(getconf LONG_BIT)" == "32" ]; then apk add cargo openssl-dev; fi
7-
RUN wget https://github.com/Syncplay/syncplay/archive/refs/tags/v${SYNCPLAY}.tar.gz && \
8-
tar xf v${SYNCPLAY}.tar.gz
7+
RUN wget https://github.com/Syncplay/syncplay/archive/refs/tags/${SYNCPLAY}.tar.gz && \
8+
tar xf ${SYNCPLAY}.tar.gz
99
WORKDIR ./syncplay-${SYNCPLAY}/
1010
RUN cat /dev/null > requirements_gui.txt
1111
RUN SNAPCRAFT_PART_BUILD=1 pip wheel --wheel-dir /wheels/ ./
12-
WORKDIR /wheels/
13-
RUN ls *.whl | xargs -P0 -n1 unzip -d /unzip/
14-
WORKDIR /release/local/lib/python3.9/
15-
RUN cp -r /unzip/ ./site-packages/
12+
WORKDIR /release/local/lib/
13+
RUN mkdir $(basename /usr/local/lib/python3.*/) && cd ./python3.*/ && \
14+
ls /wheels/*.whl | xargs -P0 -n1 unzip -d ./site-packages/
1615
COPY ./boot.py /release/bin/syncplay
1716

1817
FROM ${PYTHON}

0 commit comments

Comments
 (0)