Install tini with package manager to allow arm64
This commit is contained in:
parent
c6677ce0c8
commit
96e2c94e2d
1 changed files with 2 additions and 6 deletions
|
@ -25,6 +25,7 @@ WORKDIR /srv/umap
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
|
tini \
|
||||||
uwsgi \
|
uwsgi \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
@ -59,13 +60,8 @@ RUN apt-get update && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
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
|
EXPOSE 8000
|
||||||
|
|
||||||
ENTRYPOINT ["/tini", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||||
|
|
||||||
CMD ["/srv/umap/docker-entrypoint.sh"]
|
CMD ["/srv/umap/docker-entrypoint.sh"]
|
||||||
|
|
Loading…
Reference in a new issue