-
-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy pathDockerfile
More file actions
15 lines (13 loc) · 566 Bytes
/
Dockerfile
File metadata and controls
15 lines (13 loc) · 566 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.15.0a5-alpine
ARG VERSION
WORKDIR .
COPY dist/pyatv-${VERSION}-py3-none-any.whl .
COPY requirements/requirements.txt .
RUN apk add gcc musl-dev build-base linux-headers libffi-dev rust cargo openssl-dev git && \
pip install setuptools-rust && \
pip install -r requirements.txt && \
pip install pyatv-${VERSION}-py3-none-any.whl && \
apk del gcc musl-dev build-base linux-headers libffi-dev rust cargo openssl-dev git && \
rm pyatv-${VERSION}-py3-none-any.whl && \
rm requirements.txt && \
rm -rf /root/.cache /root/.cargo