From 29f40a017ad3ca1de0e9040dbcc9740aaf6c0465 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Sat, 24 Apr 2021 23:20:55 -0500 Subject: [PATCH] Bumped to version 7.2 --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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/*