From 51036fc3d2ab9f1cf482a26bdda1d082fbd49ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20G=C3=B3mez?= Date: Tue, 19 Dec 2023 17:11:38 +0100 Subject: [PATCH] Remove tini docker container dependency (#992) Removes tini from docker container build dependencies, as this is not needed anymore. --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b70a6deb..f12e1a70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,12 +20,11 @@ RUN set ex \ pkg-config \ " \ && apt-get update \ - && apt-get install -y --no-install-recommends $buildDeps tini \ + && apt-get install -y --no-install-recommends $buildDeps \ && pip3 install -U --no-cache-dir wheel setuptools pip \ && pip3 install --no-cache-dir --user -r requirements.txt \ && apt-get purge -y --auto-remove $buildDeps \ - && rm -rf /var/lib/apt/lists/* \ - && chmod +x /usr/bin/tini + && rm -rf /var/lib/apt/lists/* # Group 'python' (GID 999) and user 'python' (uid 999) are created RUN groupadd -g 999 python && \ @@ -39,4 +38,4 @@ COPY --chown=python:python . . USER 999:999 RUN DEFAULT_FILE_STORAGE=django.core.files.storage.FileSystemStorage python src/manage.py collectstatic --noinput -ENTRYPOINT ["/usr/bin/tini", "--", "./docker-entrypoint.sh"] +ENTRYPOINT ["./docker-entrypoint.sh"]