diff --git a/Dockerfile b/Dockerfile index 6a0e436..5f5f764 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG ARCH= FROM ${ARCH}python:3-slim-buster AS source -ARG VERSION=7.1 +ARG VERSION=7.2 ENV DEBIAN_FRONTEND=noninteractive WORKDIR /botamusique RUN apt-get update && apt-get install -y git @@ -9,8 +9,10 @@ RUN git clone --recurse-submodules https://github.com/azlux/botamusique.git . && FROM ${ARCH}python:3-slim-buster AS python-builder +ARG APT_CACHE= ENV DEBIAN_FRONTEND=noninteractive WORKDIR /botamusique +RUN echo "${APT_CACHE}" >> /etc/apt/apt.conf.d/01prox RUN apt-get update \ && apt-get install -y gcc ffmpeg libjpeg-dev libmagic-dev opus-tools zlib1g-dev \ && rm -rf /var/lib/apt/lists/* @@ -37,9 +39,11 @@ RUN venv/bin/python scripts/translate_templates.py --lang-dir /botamusique/lang FROM ${ARCH}python:3-slim-buster +ARG APT_CACHE= ENV DEBIAN_FRONTEND=noninteractive EXPOSE 8181 WORKDIR /botamusique +RUN echo "${APT_CACHE}" >> /etc/apt/apt.conf.d/01prox RUN apt-get update \ && apt-get install -y ffmpeg libmagic-dev opus-tools zlib1g \ && rm -rf /var/lib/apt/lists/*