mirror of
https://github.com/friendica/docker
synced 2025-12-07 13:57:07 +01:00
Execute cron as www-data
This commit is contained in:
parent
9e9556d12c
commit
ee990e4837
27 changed files with 198 additions and 130 deletions
|
|
@ -10,22 +10,14 @@ RUN set -ex; \
|
|||
git \
|
||||
# For mail() support
|
||||
msmtp \
|
||||
# For tini installation
|
||||
gnupg dirmngr \
|
||||
tini \
|
||||
# For setuid/setgid support
|
||||
gosu \
|
||||
; \
|
||||
# Verify that the binary works
|
||||
gosu nobody true; \
|
||||
rm -rf /var/lib/apt/lists/*;
|
||||
|
||||
# Add tini for reaping processes
|
||||
ENV TINI_VERSION v%%TINI_VERSION%%
|
||||
RUN export BUILD_ARCH=$(dpkg-architecture --query DEB_BUILD_ARCH) \
|
||||
&& mkdir ~/.gnupg \
|
||||
&& echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \
|
||||
&& curl -L -o /sbin/tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${BUILD_ARCH} \
|
||||
&& curl -L -o /tini.asc https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${BUILD_ARCH}.asc \
|
||||
&& 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