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 && \
|
||||
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"]
|
||||
|
|
Loading…
Reference in a new issue