From 0ed933a0b805b14351382c20c11e0303e9accadd Mon Sep 17 00:00:00 2001 From: Adrien Chauve Date: Mon, 11 Sep 2023 11:00:02 +0200 Subject: [PATCH] add chmod on tmp --- libs/indice_pollution/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/indice_pollution/Dockerfile b/libs/indice_pollution/Dockerfile index c9a5d4e1..2266916e 100644 --- a/libs/indice_pollution/Dockerfile +++ b/libs/indice_pollution/Dockerfile @@ -5,13 +5,13 @@ ARG PYTHON_VERSION=3.11.3-slim@sha256:7b866f12347fbfccbb73284d9c04bbd67b5f9cca8b FROM python:$PYTHON_VERSION AS base RUN pip install poetry WORKDIR /code -RUN apt update && apt install -y --no-install-recommends gcc libc6-dev \ - && rm -rf /var/lib/apt/lists/* - + ######## # Install dependencies only when needeed FROM base AS installer - +RUN chmod 1777 /tmp +RUN apt-get update && apt-get install -y --no-install-recommends gcc libc6-dev \ + && rm -rf /var/lib/apt/lists/* ADD pyproject.toml poetry.toml poetry.lock ./ RUN poetry install --without dev