8000 feat: update php to 8.3.4 and add yaml support #10 · zino-coder/docker-php8@148ec70 · GitHub
[go: up one dir, main page]

Skip to content

Commit 148ec70

Browse files
feat: update php to 8.3.4 and add yaml support vagnercardosoweb#10
1 parent 6e53c7b commit 148ec70

File tree

3 files changed

+26
-8
lines changed

3 files changed

+26
-8
lines changed

.vscode/launch.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Listen for Xdebug",
6+
"type": "php",
7+
"request": "launch",
8+
"port": 9003,
9+
"pathMappings": {
10+
"/var/www": "${workspaceFolder}"
11+
}
12+
}
13+
]
14+
}

docker/php/Dockerfile

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# From
2-
FROM php:8.2.12-fpm-alpine3.18
2+
FROM php:8.3.4-fpm-alpine3.19
33

44
# Labels
55
LABEL creatorName="Vagner dos Santos Cardoso"
@@ -13,7 +13,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
1313
RUN set -eux \
1414
&& apk add --no-cache \
1515
git vim zip unzip bash curl tzdata icu-libs \
16-
c-client make ca-certificates imap gmp gettext libssh2 \
16+
c-client make ca-certificates imap gmp gettext libssh2 yaml \
1717
libintl libxslt libpng libwebp libjpeg-turbo freetype imap \
1818
linux-headers oniguruma libxslt libpq vips \
1919
gmp libzip libxml2 freetds
@@ -23,7 +23,7 @@ RUN set -eux \
2323
&& apk add --no-cache --virtual .build_deps \
2424
libpng-dev libwebp-dev libjpeg-turbo-dev freetype-dev imap-dev \
2525
linux-headers oniguruma-dev libxslt-dev postgresql-dev vips-dev \
26-
libssh2-dev gmp-dev libzip-dev libxml2-dev freetds-dev \
26+
libssh2-dev gmp-dev libzip-dev libxml2-dev freetds-dev yaml-dev \
2727
$PHPIZE_DEPS \
2828
\
2929
# Php extensions
@@ -54,6 +54,10 @@ RUN set -eux \
5454
&& pecl install -o -f xdebug \
5555
&& docker-php-ext-enable xdebug \
5656
\
57+
# Install YML
58+
&& pecl install -o -f yaml \
59+
&& docker-php-ext-enable yaml \
60+
\
5761
# Install redis
5862
&& pecl install -o -f redis \
5963
&& docker-php-ext-enable redis \
@@ -74,7 +78,7 @@ RUN set -eux \
7478
&& rm -rf /tmp/pear \
7579
&& docker-php-source delete \
7680
\
77-
# Clean up \
81+
# Clean up
7882
&& apk del --purge .build_deps \
7983
&& rm -rf /var/cache/apk/*
8084

readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Docker with PHP 8.2.12
1+
# Docker with PHP 8.3.4
22

3-
This repository aims to facilitate the creation of a development environment with php 8.2.12.
3+
This repository aims to facilitate the creation of a development environment with php 8.3.4
44

55
## What's in the environment:
66

77
- [Nginx](https://www.nginx.com/)
8-
- [Php Fpm](https://php.net/)
8+
- [PhpFpm](https://php.net/)
99
- [Apache2](https://httpd.apache.org/)
1010
- [MySQL](https://www.mysql.com/)
1111
- [MariaDB](https://mariadb.com/)
@@ -105,7 +105,6 @@ xdebug.cli_color=1
105105
exif
106106
fileinfo
107107
filter
108-
ftp
109108
gd
110109
gmp
111110
hash
@@ -150,6 +149,7 @@ xdebug.cli_color=1
150149
xmlreader
151150
xmlwriter
152151
xsl
152+
yaml
153153
Zend OPcache
154154
zip
155155
zlib

0 commit comments

Comments
 (0)
0