Browse Source

build: syncplay version `1.7.0`

pull/2/head v1.7.0
Dnomd343 2 years ago
parent
commit
636f9ff5a3
  1. 5
      Dockerfile

5
Dockerfile

@ -1,11 +1,10 @@
ARG PYTHON="python:3.9-alpine3.17" ARG PYTHON="python:3.9-alpine3.17"
FROM ${PYTHON} as build FROM ${PYTHON} as build
ENV SYNCPLAY="1.7.0-RC1" ENV SYNCPLAY="1.7.0"
RUN apk add gcc musl-dev libffi-dev RUN apk add gcc musl-dev libffi-dev
RUN if [ "$(getconf LONG_BIT)" == "32" ]; then apk add cargo openssl-dev; fi RUN if [ "$(getconf LONG_BIT)" == "32" ]; then apk add cargo openssl-dev; fi
RUN wget https://github.com/Syncplay/syncplay/archive/refs/tags/${SYNCPLAY}.tar.gz && \ RUN wget https://github.com/Syncplay/syncplay/archive/v${SYNCPLAY}.tar.gz -O- | tar xz
tar xf ${SYNCPLAY}.tar.gz
WORKDIR ./syncplay-${SYNCPLAY}/ WORKDIR ./syncplay-${SYNCPLAY}/
RUN cat /dev/null > requirements_gui.txt RUN cat /dev/null > requirements_gui.txt
RUN SNAPCRAFT_PART_BUILD=1 pip wheel --wheel-dir /wheels/ ./ RUN SNAPCRAFT_PART_BUILD=1 pip wheel --wheel-dir /wheels/ ./

Loading…
Cancel
Save