Skip to content

Commit

Permalink
Pin php and installer version
Browse files Browse the repository at this point in the history
  • Loading branch information
codebarista committed Nov 22, 2024
1 parent 35f70bc commit 11fd673
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM php:alpine
FROM php:8.3-alpine

ARG INSTALLER_BASE_URL="https://github.com/mlocati/docker-php-extension-installer/releases"
ARG SCHEDULE_CRONTAB="* * * * * cd /var/www && php artisan schedule:run >> /dev/null 2>&1"

ADD $INSTALLER_BASE_URL/latest/download/install-php-extensions /usr/local/bin/
# ADD $INSTALLER_BASE_URL/latest/download/install-php-extensions /usr/local/bin/
ADD $INSTALLER_BASE_URL/download/2.6.4/install-php-extensions /usr/local/bin/

ENV TZ=Europe/Berlin

Expand Down Expand Up @@ -49,7 +50,7 @@ RUN install-php-extensions \
apcu \
bcmath \
gd \
imagick/imagick@master \
imagick \
intl \
memcached \
opcache \
Expand Down

0 comments on commit 11fd673

Please sign in to comment.