From 96e2c94e2db85de7e47ac41c8177965ac7c389d6 Mon Sep 17 00:00:00 2001 From: Duvel Date: Sun, 27 Nov 2022 17:01:08 +0100 Subject: [PATCH] Install tini with package manager to allow arm64 --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3d2fad80..e8a523cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,7 @@ WORKDIR /srv/umap RUN apt-get update && \ apt-get install -y --no-install-recommends \ + tini \ uwsgi \ libpq-dev \ build-essential \ @@ -59,13 +60,8 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* -# Add Tini -ENV TINI_VERSION v0.14.0 -ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini -RUN chmod +x /tini - EXPOSE 8000 -ENTRYPOINT ["/tini", "--"] +ENTRYPOINT ["/usr/bin/tini", "--"] CMD ["/srv/umap/docker-entrypoint.sh"]