From 0a9c04ee68d673e40e60e00ff607a06496606b7d Mon Sep 17 00:00:00 2001 From: Kostas Chatzikokolakis Date: Sun, 7 Jan 2024 14:17:07 +0200 Subject: [PATCH] docker: use 3.8-slim-buster --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index aa53a1b5..34169b69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # when building multiarch using buildx, then try this: # https://github.com/docker/buildx/issues/495#issuecomment-761562905 -FROM python:3.8-buster AS base +FROM python:3.8-slim-buster AS base ENV LANG C.UTF-8 ENV LC_ALL C.UTF-8 @@ -41,8 +41,8 @@ WORKDIR /home/mqtt_io COPY --from=requirements --chown=mqtt_io /home/mqtt_io/venv ./venv COPY --from=requirements /requirements.txt ./ -RUN venv/bin/python -m pip install --upgrade pip -RUN venv/bin/pip install -r requirements.txt +RUN venv/bin/python -m pip install --no-cache-dir --upgrade pip +RUN venv/bin/pip install --no-cache-dir -r requirements.txt COPY --chown=mqtt_io mqtt_io mqtt_io