@lando/php 1.6.3 → 1.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -1
- package/images/7.4-apache/Dockerfile +47 -56
- package/images/7.4-fpm/Dockerfile +60 -69
- package/images/8.0-apache/Dockerfile +47 -57
- package/images/8.0-fpm/Dockerfile +47 -57
- package/images/8.1-apache/Dockerfile +12 -1
- package/images/8.1-fpm/Dockerfile +12 -1
- package/images/8.2-apache/Dockerfile +12 -1
- package/images/8.2-fpm/Dockerfile +12 -1
- package/images/8.3-apache/Dockerfile +20 -1
- package/images/8.3-fpm/Dockerfile +21 -1
- package/images/8.4-apache/Dockerfile +23 -1
- package/images/8.4-fpm/Dockerfile +23 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
|
|
2
2
|
|
|
3
|
+
## v1.6.4 - [December 14, 2024](https://github.com/lando/php/releases/tag/v1.6.4)
|
|
4
|
+
|
|
5
|
+
* Fixed issue causing `xdebug` extension to not be disabled by default in PHP 8.3 and 8.4 images.
|
|
6
|
+
* Added `install-php-extensions` script to PHP 7.4-8.2 images.
|
|
7
|
+
* Added MariaDB client tools to PHP 7.4-8.4 images [#120](https://github.com/lando/php/issues/120).
|
|
8
|
+
* Added `xhprof` extension to PHP 7.4-8.4 images.
|
|
9
|
+
* Updated `sqlite3` to 3.45.1 in PHP 8.3-8.4 images.
|
|
10
|
+
|
|
3
11
|
## v1.6.3 - [December 7, 2024](https://github.com/lando/php/releases/tag/v1.6.3)
|
|
4
12
|
|
|
5
13
|
* Optimized for `midcore`
|
|
6
14
|
|
|
7
15
|
## v1.6.2 - [December 6, 2024](https://github.com/lando/php/releases/tag/v1.6.2)
|
|
8
16
|
|
|
17
|
+
* Updated PHP 8.1-8.3 base images to Debian 12 (bookworm).
|
|
18
|
+
* Added `install-php-extensions` script to PHP 8.3 and 8.4 images.
|
|
19
|
+
* Added `imagick` extension to PHP 8.3 and 8.4 images.
|
|
20
|
+
* Updated 8.4RC image to 8.4 stable.
|
|
21
|
+
* Added `xdebug` extension to PHP 8.4 images.
|
|
9
22
|
* Updated the version index.md to get Docuverse page to build correctly.
|
|
10
|
-
|
|
11
23
|
* Updated to [@lando/vitepress-theme-default-plus@v1.1.0-beta.24](https://github.com/lando/vitepress-theme-default-plus/releases/tag/v1.1.0-beta.24).
|
|
12
24
|
* Updated GitHub Actions to build images only on changes to images or workflows.
|
|
13
25
|
|
|
@@ -2,30 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:7.4-apache-bullseye
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
|
+
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
6
13
|
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
7
14
|
&& apt -y update && apt-get install -y \
|
|
8
|
-
bzip2 \
|
|
9
15
|
default-mysql-client \
|
|
10
16
|
exiftool \
|
|
11
17
|
git-core \
|
|
12
18
|
gnupg2 \
|
|
13
|
-
imagemagick \
|
|
14
|
-
libbz2-dev \
|
|
15
|
-
libc-client-dev \
|
|
16
|
-
libicu-dev \
|
|
17
|
-
libjpeg62-turbo-dev \
|
|
18
|
-
libkrb5-dev \
|
|
19
|
-
libldap2-dev \
|
|
20
|
-
libmagickwand-dev \
|
|
21
|
-
libmemcached-dev \
|
|
22
|
-
libpng-dev \
|
|
23
|
-
libpq-dev \
|
|
24
|
-
libssl-dev \
|
|
25
|
-
libwebp-dev \
|
|
26
|
-
libxml2-dev \
|
|
27
|
-
libzip-dev \
|
|
28
19
|
libonig-dev \
|
|
20
|
+
mariadb-client \
|
|
29
21
|
openssl \
|
|
30
22
|
postgresql-client-13 \
|
|
31
23
|
pv \
|
|
@@ -34,45 +26,44 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
34
26
|
unzip \
|
|
35
27
|
wget \
|
|
36
28
|
xfonts-75dpi \
|
|
37
|
-
xfonts-base
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
&&
|
|
42
|
-
&&
|
|
43
|
-
&&
|
|
44
|
-
&&
|
|
45
|
-
&&
|
|
46
|
-
&&
|
|
47
|
-
&&
|
|
48
|
-
&&
|
|
49
|
-
&&
|
|
50
|
-
&&
|
|
51
|
-
&&
|
|
52
|
-
&&
|
|
53
|
-
&&
|
|
54
|
-
&&
|
|
55
|
-
&&
|
|
56
|
-
&&
|
|
57
|
-
&&
|
|
58
|
-
&&
|
|
59
|
-
&&
|
|
60
|
-
&&
|
|
61
|
-
&&
|
|
62
|
-
&&
|
|
63
|
-
&&
|
|
64
|
-
&&
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
&&
|
|
69
|
-
|
|
70
|
-
|
|
29
|
+
xfonts-base
|
|
30
|
+
|
|
31
|
+
RUN \
|
|
32
|
+
install-php-extensions @fix_letsencrypt \
|
|
33
|
+
&& install-php-extensions apcu \
|
|
34
|
+
&& install-php-extensions bcmath \
|
|
35
|
+
&& install-php-extensions bz2 \
|
|
36
|
+
&& install-php-extensions calendar \
|
|
37
|
+
&& install-php-extensions exif \
|
|
38
|
+
&& install-php-extensions gd \
|
|
39
|
+
&& install-php-extensions gettext \
|
|
40
|
+
&& install-php-extensions imagick \
|
|
41
|
+
&& install-php-extensions imap \
|
|
42
|
+
&& install-php-extensions intl \
|
|
43
|
+
&& install-php-extensions ldap \
|
|
44
|
+
&& install-php-extensions mbstring \
|
|
45
|
+
&& install-php-extensions memcached \
|
|
46
|
+
&& install-php-extensions mysqli \
|
|
47
|
+
&& install-php-extensions oauth \
|
|
48
|
+
&& install-php-extensions opcache \
|
|
49
|
+
&& install-php-extensions pcntl \
|
|
50
|
+
&& install-php-extensions pdo \
|
|
51
|
+
&& install-php-extensions pdo_mysql \
|
|
52
|
+
&& install-php-extensions pdo_pgsql \
|
|
53
|
+
&& install-php-extensions redis \
|
|
54
|
+
&& install-php-extensions soap \
|
|
55
|
+
&& install-php-extensions xhprof \
|
|
56
|
+
&& install-php-extensions zip
|
|
57
|
+
|
|
58
|
+
# Install xdebug but disable it by default
|
|
59
|
+
RUN install-php-extensions xdebug \
|
|
60
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
61
|
+
|
|
62
|
+
RUN install-php-extensions @composer-2.2.12
|
|
63
|
+
|
|
64
|
+
RUN \
|
|
65
|
+
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
71
66
|
&& apt-get -y clean \
|
|
72
67
|
&& apt-get -y autoclean \
|
|
73
68
|
&& apt-get -y autoremove \
|
|
74
|
-
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
75
|
-
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
76
|
-
&& docker-php-ext-install imap \
|
|
77
|
-
&& docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg --with-webp \
|
|
78
|
-
&& docker-php-ext-install gd
|
|
69
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
@@ -2,77 +2,68 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:7.4-fpm-bullseye
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
|
+
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
6
13
|
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
7
14
|
&& apt -y update && apt-get install -y \
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
&&
|
|
40
|
-
&&
|
|
41
|
-
&&
|
|
42
|
-
&&
|
|
43
|
-
&&
|
|
44
|
-
&&
|
|
45
|
-
&&
|
|
46
|
-
&&
|
|
47
|
-
&&
|
|
48
|
-
&&
|
|
49
|
-
&&
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
&&
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
&&
|
|
59
|
-
&& docker-php-ext-install mysqli \
|
|
60
|
-
&& docker-php-ext-install opcache \
|
|
61
|
-
&& docker-php-ext-install pcntl \
|
|
62
|
-
&& docker-php-ext-install pdo \
|
|
63
|
-
&& docker-php-ext-install pdo_mysql \
|
|
64
|
-
&& docker-php-ext-install pdo_pgsql \
|
|
65
|
-
&& docker-php-ext-install soap \
|
|
66
|
-
&& docker-php-ext-install zip \
|
|
67
|
-
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
68
|
-
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.12 \
|
|
69
|
-
&& php -r "unlink('composer-setup.php');" \
|
|
70
|
-
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
15
|
+
default-mysql-client \
|
|
16
|
+
exiftool \
|
|
17
|
+
git-core \
|
|
18
|
+
gnupg2 \
|
|
19
|
+
libonig-dev \
|
|
20
|
+
mariadb-client \
|
|
21
|
+
openssl \
|
|
22
|
+
postgresql-client-13 \
|
|
23
|
+
pv \
|
|
24
|
+
rsync \
|
|
25
|
+
ssh \
|
|
26
|
+
unzip \
|
|
27
|
+
wget \
|
|
28
|
+
xfonts-75dpi \
|
|
29
|
+
xfonts-base
|
|
30
|
+
|
|
31
|
+
RUN \
|
|
32
|
+
install-php-extensions @fix_letsencrypt \
|
|
33
|
+
&& install-php-extensions apcu \
|
|
34
|
+
&& install-php-extensions bcmath \
|
|
35
|
+
&& install-php-extensions bz2 \
|
|
36
|
+
&& install-php-extensions calendar \
|
|
37
|
+
&& install-php-extensions exif \
|
|
38
|
+
&& install-php-extensions gd \
|
|
39
|
+
&& install-php-extensions gettext \
|
|
40
|
+
&& install-php-extensions imagick \
|
|
41
|
+
&& install-php-extensions imap \
|
|
42
|
+
&& install-php-extensions intl \
|
|
43
|
+
&& install-php-extensions ldap \
|
|
44
|
+
&& install-php-extensions mbstring \
|
|
45
|
+
&& install-php-extensions memcached \
|
|
46
|
+
&& install-php-extensions mysqli \
|
|
47
|
+
&& install-php-extensions oauth \
|
|
48
|
+
&& install-php-extensions opcache \
|
|
49
|
+
&& install-php-extensions pcntl \
|
|
50
|
+
&& install-php-extensions pdo \
|
|
51
|
+
&& install-php-extensions pdo_mysql \
|
|
52
|
+
&& install-php-extensions pdo_pgsql \
|
|
53
|
+
&& install-php-extensions redis \
|
|
54
|
+
&& install-php-extensions soap \
|
|
55
|
+
&& install-php-extensions xhprof \
|
|
56
|
+
&& install-php-extensions zip
|
|
57
|
+
|
|
58
|
+
# Install xdebug but disable it by default
|
|
59
|
+
RUN install-php-extensions xdebug \
|
|
60
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
61
|
+
|
|
62
|
+
RUN install-php-extensions @composer-2.2.12
|
|
63
|
+
|
|
64
|
+
RUN \
|
|
65
|
+
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
71
66
|
&& apt-get -y clean \
|
|
72
67
|
&& apt-get -y autoclean \
|
|
73
68
|
&& apt-get -y autoremove \
|
|
74
|
-
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
75
|
-
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
76
|
-
&& docker-php-ext-install imap \
|
|
77
|
-
&& docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg --with-webp \
|
|
78
|
-
&& docker-php-ext-install gd
|
|
69
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
@@ -2,31 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:8.0-apache-bullseye
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
|
+
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
6
13
|
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
7
14
|
&& apt -y update && apt-get install -y \
|
|
8
|
-
bzip2 \
|
|
9
15
|
default-mysql-client \
|
|
10
16
|
exiftool \
|
|
11
17
|
git-core \
|
|
12
18
|
gnupg2 \
|
|
13
|
-
imagemagick \
|
|
14
|
-
libbz2-dev \
|
|
15
|
-
libc-client-dev \
|
|
16
|
-
libfreetype6-dev \
|
|
17
|
-
libicu-dev \
|
|
18
|
-
libjpeg62-turbo-dev \
|
|
19
|
-
libkrb5-dev \
|
|
20
|
-
libldap2-dev \
|
|
21
|
-
libmagickwand-dev \
|
|
22
|
-
libmemcached-dev \
|
|
23
|
-
libpng-dev \
|
|
24
|
-
libpq-dev \
|
|
25
|
-
libssl-dev \
|
|
26
|
-
libwebp-dev \
|
|
27
|
-
libxml2-dev \
|
|
28
|
-
libzip-dev \
|
|
29
19
|
libonig-dev \
|
|
20
|
+
mariadb-client \
|
|
30
21
|
openssl \
|
|
31
22
|
postgresql-client-13 \
|
|
32
23
|
pv \
|
|
@@ -35,45 +26,44 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
35
26
|
unzip \
|
|
36
27
|
wget \
|
|
37
28
|
xfonts-75dpi \
|
|
38
|
-
xfonts-base
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
&&
|
|
43
|
-
&&
|
|
44
|
-
&&
|
|
45
|
-
&&
|
|
46
|
-
&&
|
|
47
|
-
&&
|
|
48
|
-
&&
|
|
49
|
-
&&
|
|
50
|
-
&&
|
|
51
|
-
&&
|
|
52
|
-
&&
|
|
53
|
-
&&
|
|
54
|
-
&&
|
|
55
|
-
&&
|
|
56
|
-
&&
|
|
57
|
-
&&
|
|
58
|
-
&&
|
|
59
|
-
&&
|
|
60
|
-
&&
|
|
61
|
-
&&
|
|
62
|
-
&&
|
|
63
|
-
&&
|
|
64
|
-
&&
|
|
65
|
-
&&
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
&&
|
|
70
|
-
|
|
71
|
-
|
|
29
|
+
xfonts-base
|
|
30
|
+
|
|
31
|
+
RUN \
|
|
32
|
+
install-php-extensions @fix_letsencrypt \
|
|
33
|
+
&& install-php-extensions apcu \
|
|
34
|
+
&& install-php-extensions bcmath \
|
|
35
|
+
&& install-php-extensions bz2 \
|
|
36
|
+
&& install-php-extensions calendar \
|
|
37
|
+
&& install-php-extensions exif \
|
|
38
|
+
&& install-php-extensions gd \
|
|
39
|
+
&& install-php-extensions gettext \
|
|
40
|
+
&& install-php-extensions imagick \
|
|
41
|
+
&& install-php-extensions imap \
|
|
42
|
+
&& install-php-extensions intl \
|
|
43
|
+
&& install-php-extensions ldap \
|
|
44
|
+
&& install-php-extensions mbstring \
|
|
45
|
+
&& install-php-extensions memcached \
|
|
46
|
+
&& install-php-extensions mysqli \
|
|
47
|
+
&& install-php-extensions oauth \
|
|
48
|
+
&& install-php-extensions opcache \
|
|
49
|
+
&& install-php-extensions pcntl \
|
|
50
|
+
&& install-php-extensions pdo \
|
|
51
|
+
&& install-php-extensions pdo_mysql \
|
|
52
|
+
&& install-php-extensions pdo_pgsql \
|
|
53
|
+
&& install-php-extensions redis \
|
|
54
|
+
&& install-php-extensions soap \
|
|
55
|
+
&& install-php-extensions xhprof \
|
|
56
|
+
&& install-php-extensions zip
|
|
57
|
+
|
|
58
|
+
# Install xdebug but disable it by default
|
|
59
|
+
RUN install-php-extensions xdebug \
|
|
60
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
61
|
+
|
|
62
|
+
RUN install-php-extensions @composer-2
|
|
63
|
+
|
|
64
|
+
RUN \
|
|
65
|
+
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
72
66
|
&& apt-get -y clean \
|
|
73
67
|
&& apt-get -y autoclean \
|
|
74
68
|
&& apt-get -y autoremove \
|
|
75
|
-
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
76
|
-
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
77
|
-
&& docker-php-ext-install imap \
|
|
78
|
-
&& docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype \
|
|
79
|
-
&& docker-php-ext-install gd
|
|
69
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
@@ -2,31 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:8.0-fpm-bullseye
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
|
+
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
6
13
|
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
7
14
|
&& apt -y update && apt-get install -y \
|
|
8
|
-
bzip2 \
|
|
9
15
|
default-mysql-client \
|
|
10
16
|
exiftool \
|
|
11
17
|
git-core \
|
|
12
18
|
gnupg2 \
|
|
13
|
-
imagemagick \
|
|
14
|
-
libbz2-dev \
|
|
15
|
-
libc-client-dev \
|
|
16
|
-
libfreetype6-dev \
|
|
17
|
-
libicu-dev \
|
|
18
|
-
libjpeg62-turbo-dev \
|
|
19
|
-
libkrb5-dev \
|
|
20
|
-
libldap2-dev \
|
|
21
|
-
libmagickwand-dev \
|
|
22
|
-
libmemcached-dev \
|
|
23
|
-
libpng-dev \
|
|
24
|
-
libpq-dev \
|
|
25
|
-
libssl-dev \
|
|
26
|
-
libwebp-dev \
|
|
27
|
-
libxml2-dev \
|
|
28
|
-
libzip-dev \
|
|
29
19
|
libonig-dev \
|
|
20
|
+
mariadb-client \
|
|
30
21
|
openssl \
|
|
31
22
|
postgresql-client-13 \
|
|
32
23
|
pv \
|
|
@@ -35,45 +26,44 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
35
26
|
unzip \
|
|
36
27
|
wget \
|
|
37
28
|
xfonts-75dpi \
|
|
38
|
-
xfonts-base
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
&&
|
|
43
|
-
&&
|
|
44
|
-
&&
|
|
45
|
-
&&
|
|
46
|
-
&&
|
|
47
|
-
&&
|
|
48
|
-
&&
|
|
49
|
-
&&
|
|
50
|
-
&&
|
|
51
|
-
&&
|
|
52
|
-
&&
|
|
53
|
-
&&
|
|
54
|
-
&&
|
|
55
|
-
&&
|
|
56
|
-
&&
|
|
57
|
-
&&
|
|
58
|
-
&&
|
|
59
|
-
&&
|
|
60
|
-
&&
|
|
61
|
-
&&
|
|
62
|
-
&&
|
|
63
|
-
&&
|
|
64
|
-
&&
|
|
65
|
-
&&
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
&&
|
|
70
|
-
|
|
71
|
-
|
|
29
|
+
xfonts-base
|
|
30
|
+
|
|
31
|
+
RUN \
|
|
32
|
+
install-php-extensions @fix_letsencrypt \
|
|
33
|
+
&& install-php-extensions apcu \
|
|
34
|
+
&& install-php-extensions bcmath \
|
|
35
|
+
&& install-php-extensions bz2 \
|
|
36
|
+
&& install-php-extensions calendar \
|
|
37
|
+
&& install-php-extensions exif \
|
|
38
|
+
&& install-php-extensions gd \
|
|
39
|
+
&& install-php-extensions gettext \
|
|
40
|
+
&& install-php-extensions imagick \
|
|
41
|
+
&& install-php-extensions imap \
|
|
42
|
+
&& install-php-extensions intl \
|
|
43
|
+
&& install-php-extensions ldap \
|
|
44
|
+
&& install-php-extensions mbstring \
|
|
45
|
+
&& install-php-extensions memcached \
|
|
46
|
+
&& install-php-extensions mysqli \
|
|
47
|
+
&& install-php-extensions oauth \
|
|
48
|
+
&& install-php-extensions opcache \
|
|
49
|
+
&& install-php-extensions pcntl \
|
|
50
|
+
&& install-php-extensions pdo \
|
|
51
|
+
&& install-php-extensions pdo_mysql \
|
|
52
|
+
&& install-php-extensions pdo_pgsql \
|
|
53
|
+
&& install-php-extensions redis \
|
|
54
|
+
&& install-php-extensions soap \
|
|
55
|
+
&& install-php-extensions xhprof \
|
|
56
|
+
&& install-php-extensions zip
|
|
57
|
+
|
|
58
|
+
# Install xdebug but disable it by default
|
|
59
|
+
RUN install-php-extensions xdebug \
|
|
60
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
61
|
+
|
|
62
|
+
RUN install-php-extensions @composer-2
|
|
63
|
+
|
|
64
|
+
RUN \
|
|
65
|
+
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
72
66
|
&& apt-get -y clean \
|
|
73
67
|
&& apt-get -y autoclean \
|
|
74
68
|
&& apt-get -y autoremove \
|
|
75
|
-
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
76
|
-
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
77
|
-
&& docker-php-ext-install imap \
|
|
78
|
-
&& docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype \
|
|
79
|
-
&& docker-php-ext-install gd
|
|
69
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|
|
@@ -4,6 +4,12 @@ FROM php:8.1-apache-bookworm
|
|
|
4
4
|
|
|
5
5
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
6
|
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.11/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
7
13
|
RUN \
|
|
8
14
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
15
|
&& apt -y update && apt-get install -y \
|
|
@@ -11,6 +17,7 @@ RUN \
|
|
|
11
17
|
exiftool \
|
|
12
18
|
git-core \
|
|
13
19
|
gnupg2 \
|
|
20
|
+
mariadb-client \
|
|
14
21
|
openssl \
|
|
15
22
|
postgresql-client-15 \
|
|
16
23
|
pv \
|
|
@@ -43,9 +50,13 @@ RUN \
|
|
|
43
50
|
&& install-php-extensions pdo_pgsql \
|
|
44
51
|
&& install-php-extensions redis \
|
|
45
52
|
&& install-php-extensions soap \
|
|
46
|
-
&& install-php-extensions
|
|
53
|
+
&& install-php-extensions xhprof \
|
|
47
54
|
&& install-php-extensions zip
|
|
48
55
|
|
|
56
|
+
# Install xdebug but disable it by default
|
|
57
|
+
RUN install-php-extensions xdebug \
|
|
58
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
59
|
+
|
|
49
60
|
RUN install-php-extensions @composer-2
|
|
50
61
|
|
|
51
62
|
RUN \
|
|
@@ -4,6 +4,12 @@ FROM php:8.1-fpm-bookworm
|
|
|
4
4
|
|
|
5
5
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
6
|
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.11/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
7
13
|
RUN \
|
|
8
14
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
15
|
&& apt -y update && apt-get install -y \
|
|
@@ -11,6 +17,7 @@ RUN \
|
|
|
11
17
|
exiftool \
|
|
12
18
|
git-core \
|
|
13
19
|
gnupg2 \
|
|
20
|
+
mariadb-client \
|
|
14
21
|
openssl \
|
|
15
22
|
postgresql-client-15 \
|
|
16
23
|
pv \
|
|
@@ -43,9 +50,13 @@ RUN \
|
|
|
43
50
|
&& install-php-extensions pdo_pgsql \
|
|
44
51
|
&& install-php-extensions redis \
|
|
45
52
|
&& install-php-extensions soap \
|
|
46
|
-
&& install-php-extensions
|
|
53
|
+
&& install-php-extensions xhprof \
|
|
47
54
|
&& install-php-extensions zip
|
|
48
55
|
|
|
56
|
+
# Install xdebug but disable it by default
|
|
57
|
+
RUN install-php-extensions xdebug \
|
|
58
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
59
|
+
|
|
49
60
|
RUN install-php-extensions @composer-2
|
|
50
61
|
|
|
51
62
|
RUN \
|
|
@@ -4,6 +4,12 @@ FROM php:8.2-apache-bookworm
|
|
|
4
4
|
|
|
5
5
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
6
|
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.11/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
7
13
|
RUN \
|
|
8
14
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
15
|
&& apt -y update && apt-get install -y \
|
|
@@ -11,6 +17,7 @@ RUN \
|
|
|
11
17
|
exiftool \
|
|
12
18
|
git-core \
|
|
13
19
|
gnupg2 \
|
|
20
|
+
mariadb-client \
|
|
14
21
|
openssl \
|
|
15
22
|
postgresql-client-15 \
|
|
16
23
|
pv \
|
|
@@ -43,9 +50,13 @@ RUN \
|
|
|
43
50
|
&& install-php-extensions pdo_pgsql \
|
|
44
51
|
&& install-php-extensions redis \
|
|
45
52
|
&& install-php-extensions soap \
|
|
46
|
-
&& install-php-extensions
|
|
53
|
+
&& install-php-extensions xhprof \
|
|
47
54
|
&& install-php-extensions zip
|
|
48
55
|
|
|
56
|
+
# Install xdebug but disable it by default
|
|
57
|
+
RUN install-php-extensions xdebug \
|
|
58
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
59
|
+
|
|
49
60
|
RUN install-php-extensions @composer-2
|
|
50
61
|
|
|
51
62
|
RUN \
|
|
@@ -4,6 +4,12 @@ FROM php:8.2-fpm-bookworm
|
|
|
4
4
|
|
|
5
5
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
6
|
|
|
7
|
+
RUN \
|
|
8
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
|
+
mkdir -p /etc/apt/keyrings \
|
|
10
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.11/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
|
+
|
|
7
13
|
RUN \
|
|
8
14
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
15
|
&& apt -y update && apt-get install -y \
|
|
@@ -11,6 +17,7 @@ RUN \
|
|
|
11
17
|
exiftool \
|
|
12
18
|
git-core \
|
|
13
19
|
gnupg2 \
|
|
20
|
+
mariadb-client \
|
|
14
21
|
openssl \
|
|
15
22
|
postgresql-client-15 \
|
|
16
23
|
pv \
|
|
@@ -43,9 +50,13 @@ RUN \
|
|
|
43
50
|
&& install-php-extensions pdo_pgsql \
|
|
44
51
|
&& install-php-extensions redis \
|
|
45
52
|
&& install-php-extensions soap \
|
|
46
|
-
&& install-php-extensions
|
|
53
|
+
&& install-php-extensions xhprof \
|
|
47
54
|
&& install-php-extensions zip
|
|
48
55
|
|
|
56
|
+
# Install xdebug but disable it by default
|
|
57
|
+
RUN install-php-extensions xdebug \
|
|
58
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
59
|
+
|
|
49
60
|
RUN install-php-extensions @composer-2
|
|
50
61
|
|
|
51
62
|
RUN \
|
|
@@ -2,8 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:8.3-apache-bookworm
|
|
4
4
|
|
|
5
|
+
ARG TARGETARCH
|
|
6
|
+
|
|
5
7
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
8
|
|
|
9
|
+
RUN \
|
|
10
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
11
|
+
mkdir -p /etc/apt/keyrings \
|
|
12
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
13
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.11/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
14
|
+
|
|
7
15
|
RUN \
|
|
8
16
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
17
|
&& apt -y update && apt-get install -y \
|
|
@@ -43,11 +51,22 @@ RUN \
|
|
|
43
51
|
&& install-php-extensions pdo_pgsql \
|
|
44
52
|
&& install-php-extensions redis \
|
|
45
53
|
&& install-php-extensions soap \
|
|
46
|
-
&& install-php-extensions
|
|
54
|
+
&& install-php-extensions xhprof \
|
|
47
55
|
&& install-php-extensions zip
|
|
48
56
|
|
|
57
|
+
# Install xdebug but disable it by default
|
|
58
|
+
RUN install-php-extensions xdebug \
|
|
59
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
60
|
+
|
|
49
61
|
RUN install-php-extensions @composer-2
|
|
50
62
|
|
|
63
|
+
# Drupal 11 requires sqlite3 3.45+
|
|
64
|
+
ARG SQLITE_VERSION=3.45.1
|
|
65
|
+
RUN \
|
|
66
|
+
curl -Lo /tmp/sqlite3.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
67
|
+
&& curl -Lo /tmp/libsqlite3-0.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
68
|
+
&& dpkg -i /tmp/sqlite3.deb /tmp/libsqlite3-0.deb
|
|
69
|
+
|
|
51
70
|
RUN \
|
|
52
71
|
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
53
72
|
&& apt-get -y clean \
|
|
@@ -2,8 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:8.3-fpm-bookworm
|
|
4
4
|
|
|
5
|
+
ARG TARGETARCH
|
|
6
|
+
|
|
5
7
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
8
|
|
|
9
|
+
RUN \
|
|
10
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
11
|
+
mkdir -p /etc/apt/keyrings \
|
|
12
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
13
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/10.11/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
14
|
+
|
|
7
15
|
RUN \
|
|
8
16
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
17
|
&& apt -y update && apt-get install -y \
|
|
@@ -11,6 +19,7 @@ RUN \
|
|
|
11
19
|
exiftool \
|
|
12
20
|
git-core \
|
|
13
21
|
gnupg2 \
|
|
22
|
+
mariadb-client \
|
|
14
23
|
openssl \
|
|
15
24
|
postgresql-client-15 \
|
|
16
25
|
pv \
|
|
@@ -43,11 +52,22 @@ RUN \
|
|
|
43
52
|
&& install-php-extensions pdo_pgsql \
|
|
44
53
|
&& install-php-extensions redis \
|
|
45
54
|
&& install-php-extensions soap \
|
|
46
|
-
&& install-php-extensions
|
|
55
|
+
&& install-php-extensions xhprof \
|
|
47
56
|
&& install-php-extensions zip
|
|
48
57
|
|
|
58
|
+
# Install xdebug but disable it by default
|
|
59
|
+
RUN install-php-extensions xdebug \
|
|
60
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
61
|
+
|
|
49
62
|
RUN install-php-extensions @composer-2
|
|
50
63
|
|
|
64
|
+
# Drupal 11 requires sqlite3 3.45+
|
|
65
|
+
ARG SQLITE_VERSION=3.45.1
|
|
66
|
+
RUN \
|
|
67
|
+
curl -Lo /tmp/sqlite3.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
68
|
+
&& curl -Lo /tmp/libsqlite3-0.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
69
|
+
&& dpkg -i /tmp/sqlite3.deb /tmp/libsqlite3-0.deb
|
|
70
|
+
|
|
51
71
|
RUN \
|
|
52
72
|
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
53
73
|
&& apt-get -y clean \
|
|
@@ -2,8 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:8.4-apache-bookworm
|
|
4
4
|
|
|
5
|
+
ARG TARGETARCH
|
|
6
|
+
|
|
5
7
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
8
|
|
|
9
|
+
RUN \
|
|
10
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
11
|
+
mkdir -p /etc/apt/keyrings \
|
|
12
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
13
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/11.4/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
14
|
+
|
|
7
15
|
RUN \
|
|
8
16
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
17
|
&& apt -y update && apt-get install -y \
|
|
@@ -11,6 +19,8 @@ RUN \
|
|
|
11
19
|
exiftool \
|
|
12
20
|
git-core \
|
|
13
21
|
gnupg2 \
|
|
22
|
+
mariadb-client \
|
|
23
|
+
mariadb-client-compat \
|
|
14
24
|
openssl \
|
|
15
25
|
postgresql-client-15 \
|
|
16
26
|
pv \
|
|
@@ -28,6 +38,7 @@ RUN \
|
|
|
28
38
|
&& install-php-extensions exif \
|
|
29
39
|
&& install-php-extensions gd \
|
|
30
40
|
&& install-php-extensions gettext \
|
|
41
|
+
&& install-php-extensions imagick \
|
|
31
42
|
&& install-php-extensions imap \
|
|
32
43
|
&& install-php-extensions intl \
|
|
33
44
|
&& install-php-extensions ldap \
|
|
@@ -42,11 +53,22 @@ RUN \
|
|
|
42
53
|
&& install-php-extensions pdo_pgsql \
|
|
43
54
|
&& install-php-extensions redis \
|
|
44
55
|
&& install-php-extensions soap \
|
|
45
|
-
|
|
56
|
+
&& install-php-extensions xhprof \
|
|
46
57
|
&& install-php-extensions zip
|
|
47
58
|
|
|
59
|
+
# Install xdebug but disable it by default
|
|
60
|
+
RUN install-php-extensions xdebug \
|
|
61
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
62
|
+
|
|
48
63
|
RUN install-php-extensions @composer-2
|
|
49
64
|
|
|
65
|
+
# Drupal 11 requires sqlite3 3.45+
|
|
66
|
+
ARG SQLITE_VERSION=3.45.1
|
|
67
|
+
RUN \
|
|
68
|
+
curl -Lo /tmp/sqlite3.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
69
|
+
&& curl -Lo /tmp/libsqlite3-0.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
70
|
+
&& dpkg -i /tmp/sqlite3.deb /tmp/libsqlite3-0.deb
|
|
71
|
+
|
|
50
72
|
RUN \
|
|
51
73
|
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
52
74
|
&& apt-get -y clean \
|
|
@@ -2,8 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
FROM php:8.4-fpm-bookworm
|
|
4
4
|
|
|
5
|
+
ARG TARGETARCH
|
|
6
|
+
|
|
5
7
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
6
8
|
|
|
9
|
+
RUN \
|
|
10
|
+
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
11
|
+
mkdir -p /etc/apt/keyrings \
|
|
12
|
+
&& curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp' \
|
|
13
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mariadb.org/repo/11.4/debian bookworm main" > /etc/apt/sources.list.d/mariadb.list
|
|
14
|
+
|
|
7
15
|
RUN \
|
|
8
16
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
9
17
|
&& apt -y update && apt-get install -y \
|
|
@@ -12,6 +20,8 @@ RUN \
|
|
|
12
20
|
exiftool \
|
|
13
21
|
git-core \
|
|
14
22
|
gnupg2 \
|
|
23
|
+
mariadb-client \
|
|
24
|
+
mariadb-client-compat \
|
|
15
25
|
openssl \
|
|
16
26
|
postgresql-client-15 \
|
|
17
27
|
pv \
|
|
@@ -29,6 +39,7 @@ RUN \
|
|
|
29
39
|
&& install-php-extensions exif \
|
|
30
40
|
&& install-php-extensions gd \
|
|
31
41
|
&& install-php-extensions gettext \
|
|
42
|
+
&& install-php-extensions imagick \
|
|
32
43
|
&& install-php-extensions imap \
|
|
33
44
|
&& install-php-extensions intl \
|
|
34
45
|
&& install-php-extensions ldap \
|
|
@@ -43,11 +54,22 @@ RUN \
|
|
|
43
54
|
&& install-php-extensions pdo_pgsql \
|
|
44
55
|
&& install-php-extensions redis \
|
|
45
56
|
&& install-php-extensions soap \
|
|
46
|
-
|
|
57
|
+
&& install-php-extensions xhprof \
|
|
47
58
|
&& install-php-extensions zip
|
|
48
59
|
|
|
60
|
+
# Install xdebug but disable it by default
|
|
61
|
+
RUN install-php-extensions xdebug \
|
|
62
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
63
|
+
|
|
49
64
|
RUN install-php-extensions @composer-2
|
|
50
65
|
|
|
66
|
+
# Drupal 11 requires sqlite3 3.45+
|
|
67
|
+
ARG SQLITE_VERSION=3.45.1
|
|
68
|
+
RUN \
|
|
69
|
+
curl -Lo /tmp/sqlite3.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
70
|
+
&& curl -Lo /tmp/libsqlite3-0.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
71
|
+
&& dpkg -i /tmp/sqlite3.deb /tmp/libsqlite3-0.deb
|
|
72
|
+
|
|
51
73
|
RUN \
|
|
52
74
|
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
53
75
|
&& apt-get -y clean \
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/php",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with PHP.",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.4",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": "lando/php",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"semver"
|
|
67
67
|
],
|
|
68
68
|
"dist": {
|
|
69
|
-
"integrity": "sha512-
|
|
70
|
-
"shasum": "
|
|
71
|
-
"filename": "lando-php-1.6.
|
|
72
|
-
"unpackedSize":
|
|
69
|
+
"integrity": "sha512-5WhDKDmSxTN7C2vMR/qzw8c0HpekQDz0Q9+JngTf9DQySz8g4PLuoGdPeBBxKWWvZR++vMOFYHBlO1da6Q7XJA==",
|
|
70
|
+
"shasum": "16cef0ada1a9a4694a08b0c193db05e6d762cdde",
|
|
71
|
+
"filename": "lando-php-1.6.4.tgz",
|
|
72
|
+
"unpackedSize": 3125868
|
|
73
73
|
}
|
|
74
74
|
}
|