Skip to content

Commit

Permalink
Docker : updating php version to 8.4.0-RC1 #19
Browse files Browse the repository at this point in the history
  • Loading branch information
rayanlevert committed Oct 1, 2024
1 parent 74c68c1 commit 2041088
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
services:
cli:
build: docker/8.3
build: docker/8.4
restart: 'no'
tty: true
stdin_open: true
working_dir: /app
volumes:
- .:/app
8 changes: 4 additions & 4 deletions docker/8.3/Dockerfile → docker/8.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM composer:2.7.7 AS composer
FROM php:8.3-cli
FROM php:8.4.0RC1-cli

LABEL maintainer="Rayan Levert <[email protected]>"

Expand All @@ -9,8 +9,8 @@ RUN apt-get update -y && \
git \
zip

# Enabling xdebug
RUN pecl install xdebug && docker-php-ext-enable xdebug
# Enabling xdebug (not supported yet for php8.4)
# RUN pecl install xdebug && docker-php-ext-enable xdebug

# Creates the app directory
RUN mkdir /app
Expand All @@ -21,4 +21,4 @@ VOLUME ["/app"]
# Composer
COPY --from=composer /usr/bin/composer /usr/local/bin/composer

CMD ["php-fpm"]
CMD ["php"]

0 comments on commit 2041088

Please sign in to comment.