Do not hardcode php version
This commit is contained in:
parent
ea92c1aee0
commit
bc254ddc6b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user