-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker : updating php version to 8.4.0-RC1 #19
- Loading branch information
1 parent
74c68c1
commit 2041088
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]>" | ||
|
||
|
@@ -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 | ||
|
@@ -21,4 +21,4 @@ VOLUME ["/app"] | |
# Composer | ||
COPY --from=composer /usr/bin/composer /usr/local/bin/composer | ||
|
||
CMD ["php-fpm"] | ||
CMD ["php"] |