mirror of
https://github.com/friendica/docker
synced 2025-12-07 13:57:07 +01:00
feat(): add tini as process manager
This commit is contained in:
parent
4755d3f602
commit
9e25e43fb9
16 changed files with 68 additions and 11 deletions
|
|
@ -10,9 +10,19 @@ RUN set -ex; \
|
|||
git \
|
||||
# For mail() support
|
||||
ssmtp \
|
||||
# For tini installation
|
||||
gnupg dirmngr \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*;
|
||||
|
||||
# Add tini for reaping processes
|
||||
ENV TINI_VERSION v%%TINI_VERSION%%
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /sbin/tini
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini.asc /tini.asc
|
||||
RUN gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 \
|
||||
&& gpg --batch --verify /tini.asc /sbin/tini \
|
||||
&& chmod +x /sbin/tini
|
||||
|
||||
# install the PHP extensions we need
|
||||
# see https://friendi.ca/resources/requirements/
|
||||
RUN set -ex; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue