Skip to content

Commit

Permalink
Update docker dev environment to PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Art4 committed Nov 28, 2023
1 parent 2ba023c commit 81d41e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .docker/Dockerfile-php82 → .docker/PHP83-Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2-fpm
FROM php:8.3-fpm

RUN apt-get update
RUN apt-get --yes --no-install-recommends install \
Expand Down Expand Up @@ -34,7 +34,7 @@ RUN docker-php-ext-install -j$(nproc) \
COPY build/php/opcache.ini /usr/local/etc/php/conf.d/
COPY build/php/custom.ini /usr/local/etc/php/conf.d/

RUN pecl install xdebug-3.2.1 && docker-php-ext-enable xdebug
RUN pecl install xdebug-3.3.0alpha3 && docker-php-ext-enable xdebug

RUN php --version

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
# Specify where the Dockerfile is located (e.g. in the root directory of the project)
context: .docker
# Specify the name of the Dockerfile for changing the PHP version
dockerfile: Dockerfile-php82
dockerfile: PHP83-Dockerfile
# Modifiy Ports for every project: <outside>:<inside>
ports:
- 8200:80
Expand Down

0 comments on commit 81d41e2

Please sign in to comment.