From 9b9b4e40ce7b077ebfa3b9be08d32025d1e43bc3 Mon Sep 17 00:00:00 2001 From: Azlux Date: Wed, 27 Oct 2021 02:29:59 +0200 Subject: [PATCH] upgrade debian base --- Dockerfile.local | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile.local b/Dockerfile.local index d3d9225..f068dce 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -1,6 +1,6 @@ ARG ARCH= -FROM ${ARCH}python:3-slim-buster AS source +FROM ${ARCH}python:3-slim-bullseye AS source ARG VERSION=master ENV DEBIAN_FRONTEND=noninteractive WORKDIR /botamusique @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y git RUN git clone --recurse-submodules https://github.com/azlux/botamusique.git . && git checkout $VERSION -FROM ${ARCH}python:3-slim-buster AS python-builder +FROM ${ARCH}python:3-slim-bullseye AS python-builder ENV DEBIAN_FRONTEND=noninteractive WORKDIR /botamusique RUN apt-get update \ @@ -20,7 +20,7 @@ RUN python3 -m venv venv \ && venv/bin/pip install -r requirements.txt -FROM ${ARCH}node:14-buster-slim AS node-builder +FROM ${ARCH}node:14-bullseye-slim AS node-builder ENV DEBIAN_FRONTEND=noninteractive WORKDIR /botamusique/web COPY --from=source /botamusique/web . @@ -28,7 +28,7 @@ RUN npm install RUN npm run build -FROM ${ARCH}python:3-slim-buster AS template-builder +FROM ${ARCH}python:3-slim-bullseye AS template-builder ENV DEBIAN_FRONTEND=noninteractive WORKDIR /botamusique COPY --from=python-builder /botamusique . @@ -36,7 +36,7 @@ COPY --from=node-builder /botamusique/templates templates RUN venv/bin/python scripts/translate_templates.py --lang-dir /botamusique/lang --template-dir /botamusique/templates -FROM ${ARCH}python:3-slim-buster +FROM ${ARCH}python:3-slim-bullseye ENV DEBIAN_FRONTEND=noninteractive EXPOSE 8181 WORKDIR /botamusique