@lando/php 1.8.0 → 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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
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
+
3
10
  ## v1.8.0 - [September 2, 2025](https://github.com/lando/php/releases/tag/v1.8.0)
4
11
 
5
12
  * Removed automatic installation of `hirak/prestissimo` for `composer:1`
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: '5',
166
+ suffix: '6',
167
167
  ssl: false,
168
168
  via: 'apache',
169
169
  volumes: ['/usr/local/bin'],
@@ -1,15 +1,20 @@
1
- # docker build -t devwithlando/php:5.6-apache-5 .
1
+ # docker build -t devwithlando/php:5.6-apache-6 .
2
2
 
3
3
  FROM php:5.6-apache-stretch
4
4
 
5
- # Install dependencies we need
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
- && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
12
- && apt -y update && apt-get install -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-5 .
1
+ # docker build -t devwithlando/php:5.6-fpm-6 .
2
2
 
3
3
  FROM php:5.6-fpm-stretch
4
4
 
5
- # Install dependencies we need
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
- && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
12
- && apt -y update && apt-get install -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-5 .
1
+ # docker build -t devwithlando/php:7.0-apache-6 .
2
2
 
3
3
  FROM php:7.0-apache-stretch
4
4
 
5
- # Install dependencies we need
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
- && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
12
- && apt -y update && apt-get install -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-5 .
1
+ # docker build -t devwithlando/php:7.0-fpm-6 .
2
2
 
3
3
  FROM php:7.0-fpm-stretch
4
4
 
5
- # Install dependencies we need
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
- && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
12
- && apt -y update && apt-get install -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.1-apache-5 .
1
+ # docker build -t devwithlando/php:7.1-apache-6 .
2
2
 
3
3
  FROM php:7.1-apache-buster
4
4
 
@@ -1,4 +1,4 @@
1
- # docker build -t devwithlando/php:7.1-fpm-5 .
1
+ # docker build -t devwithlando/php:7.1-fpm-6 .
2
2
 
3
3
  FROM php:7.1-fpm-buster
4
4
 
@@ -1,4 +1,4 @@
1
- # docker build -t devwithlando/php:7.2-apache-5 .
1
+ # docker build -t devwithlando/php:7.2-apache-6 .
2
2
 
3
3
  FROM php:7.2-apache-buster
4
4
 
@@ -1,4 +1,4 @@
1
- # docker build -t devwithlando/php:7.2-fpm-5 .
1
+ # docker build -t devwithlando/php:7.2-fpm-6 .
2
2
 
3
3
  FROM php:7.2-fpm-buster
4
4
 
@@ -1,4 +1,4 @@
1
- # docker build -t devwithlando/php:7.3-apache-5 .
1
+ # docker build -t devwithlando/php:7.3-apache-6 .
2
2
 
3
3
  FROM php:7.3-apache-bullseye
4
4
 
@@ -1,4 +1,4 @@
1
- # docker build -t devwithlando/php:7.3-fpm-5 .
1
+ # docker build -t devwithlando/php:7.3-fpm-6 .
2
2
 
3
3
  FROM php:7.3-fpm-bullseye
4
4
 
@@ -1,4 +1,4 @@
1
- # docker build -t devwithlando/php:7.4-apache-5 .
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://mirror.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
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-5 .
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://mirror.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
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-5 .
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://mirror.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
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-5 .
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://mirror.mariadb.org/repo/10.5/debian bullseye main" > /etc/apt/sources.list.d/mariadb.list
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.1-apache-5 .
1
+ # docker build -t devwithlando/php:8.1-apache-6 .
2
2
 
3
3
  FROM php:8.1-apache-bookworm
4
4
 
@@ -1,4 +1,4 @@
1
- # docker build -t devwithlando/php:8.1-fpm-5 .
1
+ # docker build -t devwithlando/php:8.1-fpm-6 .
2
2
 
3
3
  FROM php:8.1-fpm-bookworm
4
4
 
@@ -1,4 +1,4 @@
1
- # docker build -t devwithlando/php:8.2-apache-5 .
1
+ # docker build -t devwithlando/php:8.2-apache-6 .
2
2
 
3
3
  FROM php:8.2-apache-bookworm
4
4
 
@@ -1,4 +1,4 @@
1
- # docker build -t devwithlando/php:8.2-fpm-5 .
1
+ # docker build -t devwithlando/php:8.2-fpm-6 .
2
2
 
3
3
  FROM php:8.2-fpm-bookworm
4
4
 
@@ -1,41 +1,27 @@
1
- # docker build -t devwithlando/php:8.3-apache-5 .
1
+ # docker build -t devwithlando/php:8.3-apache-6 .
2
2
 
3
- FROM php:8.3-apache-bookworm
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-core \
13
+ libimage-exiftool-perl \
14
+ git \
28
15
  gnupg2 \
29
16
  imagemagick \
30
- postgresql-client-15 \
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-5 .
1
+ # docker build -t devwithlando/php:8.3-fpm-6 .
2
2
 
3
- FROM php:8.3-fpm-bookworm
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-core \
13
+ libimage-exiftool-perl \
14
+ git \
28
15
  gnupg2 \
29
16
  imagemagick \
30
17
  mariadb-client \
31
- postgresql-client-15 \
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-5 .
1
+ # docker build -t devwithlando/php:8.4-apache-6 .
2
2
 
3
- FROM php:8.4-apache-bookworm
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-core \
13
+ libimage-exiftool-perl \
14
+ git \
28
15
  gnupg2 \
29
16
  imagemagick \
30
17
  mariadb-client \
31
18
  mariadb-client-compat \
32
- postgresql-client-15 \
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-5 .
1
+ # docker build -t devwithlando/php:8.4-fpm-6 .
2
2
 
3
- FROM php:8.4-fpm-bookworm
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-core \
14
+ libimage-exiftool-perl \
15
+ git \
29
16
  gnupg2 \
30
17
  imagemagick \
31
18
  mariadb-client \
32
19
  mariadb-client-compat \
33
- postgresql-client-15 \
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/*
@@ -0,0 +1,63 @@
1
+ # docker buildx build -t devwithlando/php:8.5-fpm-6 .
2
+
3
+ FROM php:8.5-fpm-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
+ bzip2 \
13
+ default-mysql-client \
14
+ libimage-exiftool-perl \
15
+ git \
16
+ gnupg2 \
17
+ imagemagick \
18
+ mariadb-client \
19
+ mariadb-client-compat \
20
+ postgresql-client-17 \
21
+ pv \
22
+ rsync \
23
+ ssh \
24
+ unzip \
25
+ wget
26
+
27
+ RUN \
28
+ install-php-extensions @fix_letsencrypt \
29
+ && install-php-extensions apcu \
30
+ && install-php-extensions bcmath \
31
+ && install-php-extensions bz2 \
32
+ && install-php-extensions calendar \
33
+ && install-php-extensions exif \
34
+ && install-php-extensions gd \
35
+ && install-php-extensions gettext \
36
+ && install-php-extensions imagick/imagick@master \
37
+ && install-php-extensions imap \
38
+ && install-php-extensions intl \
39
+ && install-php-extensions ldap \
40
+ && install-php-extensions mbstring \
41
+ && install-php-extensions memcached \
42
+ && install-php-extensions mysqli \
43
+ && install-php-extensions oauth \
44
+ && install-php-extensions opcache \
45
+ && install-php-extensions pcntl \
46
+ && install-php-extensions pdo \
47
+ && install-php-extensions pdo_mysql \
48
+ && install-php-extensions pdo_pgsql \
49
+ && install-php-extensions redis \
50
+ && install-php-extensions soap \
51
+ && install-php-extensions xhprof \
52
+ && install-php-extensions zip
53
+
54
+ # Install xdebug but disable it by default
55
+ RUN install-php-extensions xdebug/xdebug@master \
56
+ && rm -f /usr/local/etc/php/conf.d/*xdebug.ini
57
+
58
+ RUN \
59
+ chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
60
+ && apt-get -y clean \
61
+ && apt-get -y autoclean \
62
+ && apt-get -y autoremove \
63
+ && rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/*
package/netlify.toml CHANGED
@@ -10,7 +10,7 @@
10
10
  [[context.deploy-preview.plugins]]
11
11
  package = "netlify-plugin-checklinks"
12
12
  [context.deploy-preview.plugins.inputs]
13
- todoPatterns = [ "load", "CHANGELOG.html", "/v/", "x.com", "twitter.com", "www.php.net" ]
13
+ todoPatterns = [ "load", "CHANGELOG.html", "/v/", "x.com", "twitter.com", "www.php.net", "hub.docker.com" ]
14
14
  skipPatterns = [ ".rss", ".gif", ".jpg" ]
15
15
  checkExternal = true
16
16
 
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.8.0",
4
+ "version": "1.9.0",
5
5
  "author": "Mike Pirog @pirog",
6
6
  "license": "MIT",
7
7
  "repository": "lando/php",
@@ -66,9 +66,9 @@
66
66
  "semver"
67
67
  ],
68
68
  "dist": {
69
- "integrity": "sha512-iacB+ZbgZlcZen5zwnsaHCluP9ZpE2hIKzFwQlzMWooXC39LeR5z1Kw6pt0BoC9a9dmmTVoYAMbf/vGwenuwBw==",
70
- "shasum": "a63245f0e3fc8a4af8ce2f62cb383af253787ffd",
71
- "filename": "lando-php-1.8.0.tgz",
72
- "unpackedSize": 3042655
69
+ "integrity": "sha512-rVVcfFfqh6pLhya7NOOxI22M3OwadUGbJ30KUv5HfQy7UfcNrhQ0SrvAYsPvL5l5Lt9jSxqrzJN9TotYyOLecQ==",
70
+ "shasum": "20621106d351773689ba1a2cd86d307be2734f8e",
71
+ "filename": "lando-php-1.9.0.tgz",
72
+ "unpackedSize": 3044415
73
73
  }
74
74
  }