From 6e9cd29dea110cc9dfd06df1aba55bd40a3fa009 Mon Sep 17 00:00:00 2001 From: Zoey Date: Sat, 17 Aug 2024 22:08:32 +0200 Subject: [PATCH] Update Dockerfile Signed-off-by: Zoey --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9d8cdce..8a3af31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ # syntax=docker/dockerfile:labs FROM python:3.12.5-slim-bookworm AS pip +SHELL ["/bin/bash", "-o", "pipefail", "-c"] COPY requirements.txt /tmp/requirements.txt ARG DEBIAN_FRONTEND=noninteractive RUN echo 'APT::Install-Recommends "0";' | tee -a /etc/apt/apt.conf.d/01norecommend && \ @@ -11,6 +12,7 @@ RUN echo 'APT::Install-Recommends "0";' | tee -a /etc/apt/apt.conf.d/01norecomme pip install --no-cache-dir -r /tmp/requirements.txt FROM python:3.12.5-slim-bookworm +SHELL ["/bin/bash", "-o", "pipefail", "-c"] COPY --from=pip /usr/local /usr/local RUN echo 'APT::Install-Recommends "0";' | tee -a /etc/apt/apt.conf.d/01norecommend && \ echo 'APT::Install-Suggests "0";' | tee -a /etc/apt/apt.conf.d/01norecommend && \