mirror of
https://github.com/friendica/docker
synced 2026-04-11 07:16:42 +02:00
Fixed cron.sh & update
- restored script `friendica` for update & wrapper purpose - fixed `cron.sh`
This commit is contained in:
parent
ce49a5994b
commit
1362cc34ca
25 changed files with 1387 additions and 662 deletions
|
|
@ -11,15 +11,11 @@ RUN set -ex; \
|
|||
apt-get install -y --no-install-recommends \
|
||||
rsync \
|
||||
bzip2 \
|
||||
busybox-static \
|
||||
git \
|
||||
# For mail() support
|
||||
sendmail \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*; \
|
||||
\
|
||||
mkdir -p /var/spool/cron/crontabs; \
|
||||
echo '*/10 * * * * cd /var/www/html && php -f bin/worker.php' > /var/spool/cron/crontabs/www-data
|
||||
rm -rf /var/lib/apt/lists/*;
|
||||
|
||||
# install the PHP extensions we need
|
||||
# see https://friendi.ca/resources/requirements/
|
||||
|
|
@ -102,9 +98,11 @@ RUN {\
|
|||
ENV FRIENDICA_VERSION develop
|
||||
ENV ADDONS_VERSION develop
|
||||
|
||||
COPY bin/* /usr/local/bin/
|
||||
COPY config/* /usr/src/config/
|
||||
COPY *.sh /
|
||||
RUN chmod +x /*.sh
|
||||
RUN chmod +x /usr/local/bin/*
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["apache2-foreground"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue