@lando/php 1.7.1 → 1.9.0
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/.lando.yml +1 -1
- package/CHANGELOG.md +13 -0
- package/LICENSE +21 -0
- package/README.md +5 -2
- package/builders/php.js +2 -9
- package/images/5.6-apache/Dockerfile +9 -4
- package/images/5.6-fpm/Dockerfile +9 -4
- package/images/7.0-apache/Dockerfile +9 -4
- package/images/7.0-fpm/Dockerfile +9 -4
- package/images/7.1-apache/Dockerfile +1 -1
- package/images/7.1-fpm/Dockerfile +1 -1
- package/images/7.2-apache/Dockerfile +1 -1
- package/images/7.2-fpm/Dockerfile +1 -1
- package/images/7.3-apache/Dockerfile +1 -1
- package/images/7.3-fpm/Dockerfile +1 -1
- package/images/7.4-apache/Dockerfile +2 -2
- package/images/7.4-fpm/Dockerfile +2 -2
- package/images/8.0-apache/Dockerfile +2 -2
- package/images/8.0-fpm/Dockerfile +2 -2
- package/images/8.1-apache/Dockerfile +1 -1
- package/images/8.1-fpm/Dockerfile +1 -1
- package/images/8.2-apache/Dockerfile +1 -1
- package/images/8.2-fpm/Dockerfile +1 -1
- package/images/8.3-apache/Dockerfile +8 -22
- package/images/8.3-fpm/Dockerfile +7 -22
- package/images/8.4-apache/Dockerfile +6 -22
- package/images/8.4-fpm/Dockerfile +6 -22
- package/images/8.5-apache/Dockerfile +62 -0
- package/images/8.5-fpm/Dockerfile +63 -0
- package/netlify.toml +10 -1
- package/node_modules/@lando/nginx/.lando.yml +1 -1
- package/node_modules/@lando/nginx/.node-version +1 -1
- package/node_modules/@lando/nginx/CHANGELOG.md +9 -1
- package/node_modules/@lando/nginx/LICENSE +21 -0
- package/node_modules/@lando/nginx/README.md +5 -2
- package/node_modules/@lando/nginx/builders/nginx.js +34 -15
- package/node_modules/@lando/nginx/netlify.toml +9 -4
- package/node_modules/@lando/nginx/package.json +8 -8
- package/package.json +10 -10
- package/LICENSE.md +0 -674
- package/PRIVACY.md +0 -169
- package/node_modules/@lando/nginx/LICENSE.md +0 -674
- package/node_modules/@lando/nginx/PRIVACY.md +0 -169
package/.lando.yml
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
|
|
2
2
|
|
|
3
|
+
## v1.9.0 - [December 5, 2025](https://github.com/lando/php/releases/tag/v1.9.0)
|
|
4
|
+
|
|
5
|
+
* Added support for PHP 8.5
|
|
6
|
+
* Added Debian 13 (trixie) base images for PHP 8.3-8.5
|
|
7
|
+
* Changed PHP 7.4 and 8.0 images to use MariaDB `archive.mariadb.org` apt repository
|
|
8
|
+
* Fixed expired keys preventing stretch-based images from building
|
|
9
|
+
|
|
10
|
+
## v1.8.0 - [September 2, 2025](https://github.com/lando/php/releases/tag/v1.8.0)
|
|
11
|
+
|
|
12
|
+
* Removed automatic installation of `hirak/prestissimo` for `composer:1`
|
|
13
|
+
* Switched images to [bitnamilegacy](https://github.com/bitnami/containers/issues/83267) namespace
|
|
14
|
+
* Updated to [@lando/nginx@1.5.0](https://github.com/lando/nginx/releases/tag/v1.5.0)
|
|
15
|
+
|
|
3
16
|
## v1.7.1 - [January 15, 2025](https://github.com/lando/php/releases/tag/v1.7.1)
|
|
4
17
|
|
|
5
18
|
* Improved the `php` service builder to mount a unique scripts directory per service to prevent version conflicts.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Lando Alliance
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -54,5 +54,8 @@ Made with [contributors-img](https://contrib.rocks).
|
|
|
54
54
|
|
|
55
55
|
## Other Selected Resources
|
|
56
56
|
|
|
57
|
-
* [LICENSE](
|
|
58
|
-
* [
|
|
57
|
+
* [LICENSE](/LICENSE)
|
|
58
|
+
* [TERMS OF USE](https://docs.lando.dev/terms)
|
|
59
|
+
* [PRIVACY POLICY](https://docs.lando.dev/privacy)
|
|
60
|
+
* [CODE OF CONDUCT](https://docs.lando.dev/coc)
|
|
61
|
+
|
package/builders/php.js
CHANGED
|
@@ -126,7 +126,7 @@ module.exports = {
|
|
|
126
126
|
name: 'php',
|
|
127
127
|
config: {
|
|
128
128
|
version: '7.4',
|
|
129
|
-
supported: ['8.4', '8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
129
|
+
supported: ['8.5', '8.4', '8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
130
130
|
legacy: ['7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
131
131
|
gen2: ['5.5', '5.4', '5.3'],
|
|
132
132
|
path: [
|
|
@@ -163,7 +163,7 @@ module.exports = {
|
|
|
163
163
|
},
|
|
164
164
|
scriptsDir: path.resolve(__dirname, '..', 'scripts'),
|
|
165
165
|
sources: [],
|
|
166
|
-
suffix: '
|
|
166
|
+
suffix: '6',
|
|
167
167
|
ssl: false,
|
|
168
168
|
via: 'apache',
|
|
169
169
|
volumes: ['/usr/local/bin'],
|
|
@@ -218,13 +218,6 @@ module.exports = {
|
|
|
218
218
|
} else if (typeof options.composer_version === 'number') {
|
|
219
219
|
options.composer_version = options.composer_version.toString();
|
|
220
220
|
}
|
|
221
|
-
const usingComposer1 = options.composer_version && semver.satisfies(options.composer_version, '1.x');
|
|
222
|
-
|
|
223
|
-
// Add prestissimo as a global package for Composer 1.x performance improvements. Requires PHP >= 5.3
|
|
224
|
-
if (usingComposer1 && phpSemver && semver.gte(phpSemver, '5.3.0')) {
|
|
225
|
-
options.composer = options.composer || {};
|
|
226
|
-
options.composer = {'hirak/prestissimo': '*', ...options.composer};
|
|
227
|
-
}
|
|
228
221
|
|
|
229
222
|
// Add build step to enable xdebug
|
|
230
223
|
if (options.xdebug) {
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:5.6-apache-
|
|
1
|
+
# docker build -t devwithlando/php:5.6-apache-6 .
|
|
2
2
|
|
|
3
3
|
FROM php:5.6-apache-stretch
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Debian Stretch has archived repositories and expired keys
|
|
6
6
|
RUN \
|
|
7
7
|
sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
|
|
8
8
|
&& sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list \
|
|
9
9
|
&& sed -i '/stretch-updates/d' /etc/apt/sources.list \
|
|
10
10
|
&& echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
|
|
11
|
-
&&
|
|
12
|
-
&& apt -y
|
|
11
|
+
&& apt-get -qq update -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true -o APT::Get::AllowUnauthenticated=true \
|
|
12
|
+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests -o APT::Get::AllowUnauthenticated=true debian-archive-keyring
|
|
13
|
+
|
|
14
|
+
# Install dependencies
|
|
15
|
+
RUN \
|
|
16
|
+
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
17
|
+
&& apt-get update && apt-get install -y \
|
|
13
18
|
gnupg2 \
|
|
14
19
|
wget \
|
|
15
20
|
bzip2 \
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:5.6-fpm-
|
|
1
|
+
# docker build -t devwithlando/php:5.6-fpm-6 .
|
|
2
2
|
|
|
3
3
|
FROM php:5.6-fpm-stretch
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Debian Stretch has archived repositories and expired keys
|
|
6
6
|
RUN \
|
|
7
7
|
sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
|
|
8
8
|
&& sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list \
|
|
9
9
|
&& sed -i '/stretch-updates/d' /etc/apt/sources.list \
|
|
10
10
|
&& echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
|
|
11
|
-
&&
|
|
12
|
-
&& apt -y
|
|
11
|
+
&& apt-get -qq update -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true -o APT::Get::AllowUnauthenticated=true \
|
|
12
|
+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests -o APT::Get::AllowUnauthenticated=true debian-archive-keyring
|
|
13
|
+
|
|
14
|
+
# Install dependencies
|
|
15
|
+
RUN \
|
|
16
|
+
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
17
|
+
&& apt-get update && apt-get install -y \
|
|
13
18
|
gnupg2 \
|
|
14
19
|
wget \
|
|
15
20
|
bzip2 \
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:7.0-apache-
|
|
1
|
+
# docker build -t devwithlando/php:7.0-apache-6 .
|
|
2
2
|
|
|
3
3
|
FROM php:7.0-apache-stretch
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Debian Stretch has archived repositories and expired keys
|
|
6
6
|
RUN \
|
|
7
7
|
sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
|
|
8
8
|
&& sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list \
|
|
9
9
|
&& sed -i '/stretch-updates/d' /etc/apt/sources.list \
|
|
10
10
|
&& echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
|
|
11
|
-
&&
|
|
12
|
-
&& apt -y
|
|
11
|
+
&& apt-get -qq update -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true -o APT::Get::AllowUnauthenticated=true \
|
|
12
|
+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests -o APT::Get::AllowUnauthenticated=true debian-archive-keyring
|
|
13
|
+
|
|
14
|
+
# Install dependencies
|
|
15
|
+
RUN \
|
|
16
|
+
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
17
|
+
&& apt-get update && apt-get install -y \
|
|
13
18
|
gnupg2 \
|
|
14
19
|
wget \
|
|
15
20
|
bzip2 \
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:7.0-fpm-
|
|
1
|
+
# docker build -t devwithlando/php:7.0-fpm-6 .
|
|
2
2
|
|
|
3
3
|
FROM php:7.0-fpm-stretch
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Debian Stretch has archived repositories and expired keys
|
|
6
6
|
RUN \
|
|
7
7
|
sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
|
|
8
8
|
&& sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list \
|
|
9
9
|
&& sed -i '/stretch-updates/d' /etc/apt/sources.list \
|
|
10
10
|
&& echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
|
|
11
|
-
&&
|
|
12
|
-
&& apt -y
|
|
11
|
+
&& apt-get -qq update -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true -o APT::Get::AllowUnauthenticated=true \
|
|
12
|
+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests -o APT::Get::AllowUnauthenticated=true debian-archive-keyring
|
|
13
|
+
|
|
14
|
+
# Install dependencies
|
|
15
|
+
RUN \
|
|
16
|
+
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
17
|
+
&& apt-get update && apt-get install -y \
|
|
13
18
|
gnupg2 \
|
|
14
19
|
wget \
|
|
15
20
|
bzip2 \
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:7.4-apache-
|
|
1
|
+
# docker build -t devwithlando/php:7.4-apache-6 .
|
|
2
2
|
|
|
3
3
|
FROM php:7.4-apache-bullseye
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ RUN \
|
|
|
8
8
|
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
9
|
mkdir -p /etc/apt/keyrings \
|
|
10
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://
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://archive.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
12
|
|
|
13
13
|
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
14
14
|
&& apt -y update && apt-get install -y \
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:7.4-fpm-
|
|
1
|
+
# docker build -t devwithlando/php:7.4-fpm-6 .
|
|
2
2
|
|
|
3
3
|
FROM php:7.4-fpm-bullseye
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ RUN \
|
|
|
8
8
|
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
9
|
mkdir -p /etc/apt/keyrings \
|
|
10
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://
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://archive.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
12
|
|
|
13
13
|
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
14
14
|
&& apt -y update && apt-get install -y \
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:8.0-apache-
|
|
1
|
+
# docker build -t devwithlando/php:8.0-apache-6 .
|
|
2
2
|
|
|
3
3
|
FROM php:8.0-apache-bullseye
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ RUN \
|
|
|
8
8
|
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
9
|
mkdir -p /etc/apt/keyrings \
|
|
10
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://
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://archive.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
12
|
|
|
13
13
|
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
14
14
|
&& apt -y update && apt-get install -y \
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:8.0-fpm-
|
|
1
|
+
# docker build -t devwithlando/php:8.0-fpm-6 .
|
|
2
2
|
|
|
3
3
|
FROM php:8.0-fpm-bullseye
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ RUN \
|
|
|
8
8
|
# MariaDB client compatibility (https://github.com/lando/php/issues/120)
|
|
9
9
|
mkdir -p /etc/apt/keyrings \
|
|
10
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://
|
|
11
|
+
&& echo "deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://archive.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
|
|
12
12
|
|
|
13
13
|
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
14
14
|
&& apt -y update && apt-get install -y \
|
|
@@ -1,41 +1,27 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:8.3-apache-
|
|
1
|
+
# docker build -t devwithlando/php:8.3-apache-6 .
|
|
2
2
|
|
|
3
|
-
FROM php:8.3-apache-
|
|
3
|
+
FROM php:8.3-apache-trixie
|
|
4
4
|
|
|
5
5
|
ARG TARGETARCH
|
|
6
6
|
|
|
7
7
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
8
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
|
-
|
|
15
|
-
# Drupal 11 requires sqlite3 3.45+
|
|
16
|
-
ARG SQLITE_VERSION=3.45.1
|
|
17
|
-
RUN \
|
|
18
|
-
curl -Lo /tmp/sqlite3.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
19
|
-
&& curl -Lo /tmp/libsqlite3-0.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
20
|
-
&& curl -Lo /tmp/libsqlite3-dev.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-dev_${SQLITE_VERSION}-1_${TARGETARCH}.deb"
|
|
21
|
-
|
|
22
9
|
RUN \
|
|
23
10
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
24
11
|
&& apt -y update && apt-get install -y \
|
|
25
12
|
default-mysql-client \
|
|
26
|
-
exiftool \
|
|
27
|
-
git
|
|
13
|
+
libimage-exiftool-perl \
|
|
14
|
+
git \
|
|
28
15
|
gnupg2 \
|
|
29
16
|
imagemagick \
|
|
30
|
-
|
|
17
|
+
mariadb-client \
|
|
18
|
+
mariadb-client-compat \
|
|
19
|
+
postgresql-client-17 \
|
|
31
20
|
pv \
|
|
32
21
|
rsync \
|
|
33
22
|
ssh \
|
|
34
23
|
unzip \
|
|
35
|
-
wget
|
|
36
|
-
/tmp/sqlite3.deb \
|
|
37
|
-
/tmp/libsqlite3-0.deb \
|
|
38
|
-
/tmp/libsqlite3-dev.deb
|
|
24
|
+
wget
|
|
39
25
|
|
|
40
26
|
RUN \
|
|
41
27
|
install-php-extensions @fix_letsencrypt \
|
|
@@ -1,42 +1,27 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:8.3-fpm-
|
|
1
|
+
# docker build -t devwithlando/php:8.3-fpm-6 .
|
|
2
2
|
|
|
3
|
-
FROM php:8.3-fpm-
|
|
3
|
+
FROM php:8.3-fpm-trixie
|
|
4
4
|
|
|
5
5
|
ARG TARGETARCH
|
|
6
6
|
|
|
7
7
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
8
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
|
-
|
|
15
|
-
# Drupal 11 requires sqlite3 3.45+
|
|
16
|
-
ARG SQLITE_VERSION=3.45.1
|
|
17
|
-
RUN \
|
|
18
|
-
curl -Lo /tmp/sqlite3.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
19
|
-
&& curl -Lo /tmp/libsqlite3-0.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
20
|
-
&& curl -Lo /tmp/libsqlite3-dev.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-dev_${SQLITE_VERSION}-1_${TARGETARCH}.deb"
|
|
21
|
-
|
|
22
9
|
RUN \
|
|
23
10
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
24
11
|
&& apt -y update && apt-get install -y \
|
|
25
12
|
default-mysql-client \
|
|
26
|
-
exiftool \
|
|
27
|
-
git
|
|
13
|
+
libimage-exiftool-perl \
|
|
14
|
+
git \
|
|
28
15
|
gnupg2 \
|
|
29
16
|
imagemagick \
|
|
30
17
|
mariadb-client \
|
|
31
|
-
|
|
18
|
+
mariadb-client-compat \
|
|
19
|
+
postgresql-client-17 \
|
|
32
20
|
pv \
|
|
33
21
|
rsync \
|
|
34
22
|
ssh \
|
|
35
23
|
unzip \
|
|
36
|
-
wget
|
|
37
|
-
/tmp/sqlite3.deb \
|
|
38
|
-
/tmp/libsqlite3-0.deb \
|
|
39
|
-
/tmp/libsqlite3-dev.deb
|
|
24
|
+
wget
|
|
40
25
|
|
|
41
26
|
RUN \
|
|
42
27
|
install-php-extensions @fix_letsencrypt \
|
|
@@ -1,43 +1,27 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:8.4-apache-
|
|
1
|
+
# docker build -t devwithlando/php:8.4-apache-6 .
|
|
2
2
|
|
|
3
|
-
FROM php:8.4-apache-
|
|
3
|
+
FROM php:8.4-apache-trixie
|
|
4
4
|
|
|
5
5
|
ARG TARGETARCH
|
|
6
6
|
|
|
7
7
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
8
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
|
-
|
|
15
|
-
# Drupal 11 requires sqlite3 3.45+
|
|
16
|
-
ARG SQLITE_VERSION=3.45.1
|
|
17
|
-
RUN \
|
|
18
|
-
curl -Lo /tmp/sqlite3.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
19
|
-
&& curl -Lo /tmp/libsqlite3-0.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
20
|
-
&& curl -Lo /tmp/libsqlite3-dev.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-dev_${SQLITE_VERSION}-1_${TARGETARCH}.deb"
|
|
21
|
-
|
|
22
9
|
RUN \
|
|
23
10
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
24
11
|
&& apt -y update && apt-get install -y \
|
|
25
12
|
default-mysql-client \
|
|
26
|
-
exiftool \
|
|
27
|
-
git
|
|
13
|
+
libimage-exiftool-perl \
|
|
14
|
+
git \
|
|
28
15
|
gnupg2 \
|
|
29
16
|
imagemagick \
|
|
30
17
|
mariadb-client \
|
|
31
18
|
mariadb-client-compat \
|
|
32
|
-
postgresql-client-
|
|
19
|
+
postgresql-client-17 \
|
|
33
20
|
pv \
|
|
34
21
|
rsync \
|
|
35
22
|
ssh \
|
|
36
23
|
unzip \
|
|
37
|
-
wget
|
|
38
|
-
/tmp/sqlite3.deb \
|
|
39
|
-
/tmp/libsqlite3-0.deb \
|
|
40
|
-
/tmp/libsqlite3-dev.deb
|
|
24
|
+
wget
|
|
41
25
|
|
|
42
26
|
RUN \
|
|
43
27
|
install-php-extensions @fix_letsencrypt \
|
|
@@ -1,44 +1,28 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:8.4-fpm-
|
|
1
|
+
# docker build -t devwithlando/php:8.4-fpm-6 .
|
|
2
2
|
|
|
3
|
-
FROM php:8.4-fpm-
|
|
3
|
+
FROM php:8.4-fpm-trixie
|
|
4
4
|
|
|
5
5
|
ARG TARGETARCH
|
|
6
6
|
|
|
7
7
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
8
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
|
-
|
|
15
|
-
# Drupal 11 requires sqlite3 3.45+
|
|
16
|
-
ARG SQLITE_VERSION=3.45.1
|
|
17
|
-
RUN \
|
|
18
|
-
curl -Lo /tmp/sqlite3.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
19
|
-
&& curl -Lo /tmp/libsqlite3-0.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETARCH}.deb" \
|
|
20
|
-
&& curl -Lo /tmp/libsqlite3-dev.deb "https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/sqlite3/libsqlite3-dev_${SQLITE_VERSION}-1_${TARGETARCH}.deb"
|
|
21
|
-
|
|
22
9
|
RUN \
|
|
23
10
|
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
24
11
|
&& apt -y update && apt-get install -y \
|
|
25
12
|
bzip2 \
|
|
26
13
|
default-mysql-client \
|
|
27
|
-
exiftool \
|
|
28
|
-
git
|
|
14
|
+
libimage-exiftool-perl \
|
|
15
|
+
git \
|
|
29
16
|
gnupg2 \
|
|
30
17
|
imagemagick \
|
|
31
18
|
mariadb-client \
|
|
32
19
|
mariadb-client-compat \
|
|
33
|
-
postgresql-client-
|
|
20
|
+
postgresql-client-17 \
|
|
34
21
|
pv \
|
|
35
22
|
rsync \
|
|
36
23
|
ssh \
|
|
37
24
|
unzip \
|
|
38
|
-
wget
|
|
39
|
-
/tmp/sqlite3.deb \
|
|
40
|
-
/tmp/libsqlite3-0.deb \
|
|
41
|
-
/tmp/libsqlite3-dev.deb
|
|
25
|
+
wget
|
|
42
26
|
|
|
43
27
|
RUN \
|
|
44
28
|
install-php-extensions @fix_letsencrypt \
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# docker buildx build -t devwithlando/php:8.5-apache-6 .
|
|
2
|
+
|
|
3
|
+
FROM php:8.5-apache-trixie
|
|
4
|
+
|
|
5
|
+
ARG TARGETARCH
|
|
6
|
+
|
|
7
|
+
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
8
|
+
|
|
9
|
+
RUN \
|
|
10
|
+
mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
11
|
+
&& apt -y update && apt-get install -y \
|
|
12
|
+
default-mysql-client \
|
|
13
|
+
libimage-exiftool-perl \
|
|
14
|
+
git \
|
|
15
|
+
gnupg2 \
|
|
16
|
+
imagemagick \
|
|
17
|
+
mariadb-client \
|
|
18
|
+
mariadb-client-compat \
|
|
19
|
+
postgresql-client-17 \
|
|
20
|
+
pv \
|
|
21
|
+
rsync \
|
|
22
|
+
ssh \
|
|
23
|
+
unzip \
|
|
24
|
+
wget
|
|
25
|
+
|
|
26
|
+
RUN \
|
|
27
|
+
install-php-extensions @fix_letsencrypt \
|
|
28
|
+
&& install-php-extensions apcu \
|
|
29
|
+
&& install-php-extensions bcmath \
|
|
30
|
+
&& install-php-extensions bz2 \
|
|
31
|
+
&& install-php-extensions calendar \
|
|
32
|
+
&& install-php-extensions exif \
|
|
33
|
+
&& install-php-extensions gd \
|
|
34
|
+
&& install-php-extensions gettext \
|
|
35
|
+
&& install-php-extensions imagick/imagick@master \
|
|
36
|
+
&& install-php-extensions imap \
|
|
37
|
+
&& install-php-extensions intl \
|
|
38
|
+
&& install-php-extensions ldap \
|
|
39
|
+
&& install-php-extensions mbstring \
|
|
40
|
+
&& install-php-extensions memcached \
|
|
41
|
+
&& install-php-extensions mysqli \
|
|
42
|
+
&& install-php-extensions oauth \
|
|
43
|
+
&& install-php-extensions opcache \
|
|
44
|
+
&& install-php-extensions pcntl \
|
|
45
|
+
&& install-php-extensions pdo \
|
|
46
|
+
&& install-php-extensions pdo_mysql \
|
|
47
|
+
&& install-php-extensions pdo_pgsql \
|
|
48
|
+
&& install-php-extensions redis \
|
|
49
|
+
&& install-php-extensions soap \
|
|
50
|
+
&& install-php-extensions xhprof \
|
|
51
|
+
&& install-php-extensions zip
|
|
52
|
+
|
|
53
|
+
# Install xdebug but disable it by default
|
|
54
|
+
RUN install-php-extensions xdebug/xdebug@master \
|
|
55
|
+
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini
|
|
56
|
+
|
|
57
|
+
RUN \
|
|
58
|
+
chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
59
|
+
&& apt-get -y clean \
|
|
60
|
+
&& apt-get -y autoclean \
|
|
61
|
+
&& apt-get -y autoremove \
|
|
62
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
|