1
0
cms11/docker/Dockerfile

18 lines
531 B
Docker
Raw Normal View History

ARG PHP_VERSION=8.0
FROM sail-${PHP_VERSION}/app as base
2024-04-22 00:27:22 +02:00
RUN apt-get update \
2024-05-16 22:20:21 +02:00
&& apt-get -y install cron imagemagick rsync wget unzip \
2024-05-08 21:01:30 +02:00
php${PHP_VERSION}-imagick \
php${PHP_VERSION}-redis
2024-04-22 00:27:22 +02:00
2024-05-16 22:20:21 +02:00
RUN wget https://github.com/hackerb9/lsix/archive/master.zip \
&& unzip master.zip \
&& cp lsix-master/lsix /usr/local/bin/ \
&& chmod +x /usr/local/bin/lsix
2024-04-22 00:27:22 +02:00
COPY crontab /etc/cron.d/laravel-scheduler
RUN chmod 0644 /etc/cron.d/laravel-scheduler
RUN crontab /etc/cron.d/laravel-scheduler
RUN touch /var/log/cron.log