Skip to content

Commit

Permalink
Update to php v8.4 with swoole base image
Browse files Browse the repository at this point in the history
  • Loading branch information
codebarista committed Dec 15, 2024
1 parent 11fd673 commit ed115f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ tasks:
desc: Build multi-arch octane image and put out
internal: true
cmds:
- echo "Platform $PLATFORM"
- echo "Tag $TAG"
- docker buildx create --name=container --driver=docker-container --use
- docker buildx build --platform={{.PLATFORM}} -t {{.TAG}} --output={{.OUTPUT}} src
- task: clear
Expand Down
6 changes: 2 additions & 4 deletions src/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM php:8.3-alpine
FROM phpswoole/swoole:php8.4-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/download/2.6.4/install-php-extensions /usr/local/bin/
ADD $INSTALLER_BASE_URL/latest/download/install-php-extensions /usr/local/bin/

ENV TZ=Europe/Berlin

Expand Down Expand Up @@ -59,7 +58,6 @@ RUN install-php-extensions \
pdo_pgsql \
pgsql \
redis \
swoole \
zip

### set timezone and clean-up
Expand Down

0 comments on commit ed115f2

Please sign in to comment.