File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 11ARG PYTHON="python:3.9-alpine3.17"
22
33FROM ${PYTHON} as build
4- ENV SYNCPLAY="1.6.9 "
4+ ENV SYNCPLAY="1.7.0-RC1 "
55RUN apk add gcc musl-dev libffi-dev
66RUN 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
99WORKDIR ./syncplay-${SYNCPLAY}/
1010RUN cat /dev/null > requirements_gui.txt
1111RUN 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/
1615COPY ./boot.py /release/bin/syncplay
1716
1817FROM ${PYTHON}
You can’t perform that action at this time.
0 commit comments