1
0

Do not hardcode php version

This commit is contained in:
Richard Dern 2024-05-08 21:01:30 +02:00
parent ea92c1aee0
commit bc254ddc6b

View File

@ -2,7 +2,9 @@ ARG PHP_VERSION=8.0
FROM sail-${PHP_VERSION}/app as base FROM sail-${PHP_VERSION}/app as base
RUN apt-get update \ RUN apt-get update \
&& apt-get -y install cron imagemagick php8.3-imagick php8.3-redis rsync && apt-get -y install cron imagemagick rsync \
php${PHP_VERSION}-imagick \
php${PHP_VERSION}-redis
COPY crontab /etc/cron.d/laravel-scheduler COPY crontab /etc/cron.d/laravel-scheduler
RUN chmod 0644 /etc/cron.d/laravel-scheduler RUN chmod 0644 /etc/cron.d/laravel-scheduler