From: Marcel van der Veldt Date: Thu, 9 Mar 2023 21:24:41 +0000 (+0100) Subject: alpine 3.16 instead of 3.17 X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=42e690ae8cc9e824a42f53fc5fa5fa2e6b0f233f;p=music-assistant-server.git alpine 3.16 instead of 3.17 --- diff --git a/Dockerfile b/Dockerfile index f7bead2d..ea6bb57d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ARG PYTHON_VERSION="3.11" # Build Wheels # # # ##################################################################### -FROM python:${PYTHON_VERSION}-alpine as wheels-builder +FROM python:${PYTHON_VERSION}-alpine3.16 as wheels-builder ARG TARGETPLATFORM # Install buildtime packages @@ -30,13 +30,14 @@ RUN set -x \ libffi \ libffi-dev \ openssl-dev \ - pkgconfig \ - rust \ - cargo + pkgconfig WORKDIR /wheels COPY requirements_all.txt . + +ENV PATH="/root/.cargo/bin:${PATH}" + # build python wheels for all dependencies RUN set -x \ && pip install --upgrade pip \ @@ -54,7 +55,7 @@ RUN python3 -m build --wheel --outdir /wheels --skip-dependency-check # Final Image # # # ##################################################################### -FROM python:${PYTHON_VERSION}-alpine AS final-build +FROM python:${PYTHON_VERSION}-alpine3.16 AS final-build WORKDIR /app RUN set -x \