@lando/drupal 1.11.0 → 1.13.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.
Files changed (149) hide show
  1. package/.lando.yml +1 -2
  2. package/CHANGELOG.md +18 -0
  3. package/LICENSE +21 -0
  4. package/README.md +20 -27
  5. package/builders/_drupaly.js +27 -20
  6. package/builders/drupal-mariadb.js +1 -1
  7. package/builders/drupal-mssql.js +1 -1
  8. package/builders/drupal-mysql.js +7 -1
  9. package/builders/drupal-nginx.js +1 -1
  10. package/builders/drupal-php.js +18 -19
  11. package/builders/drupal-postgres.js +1 -1
  12. package/builders/drupal10.js +1 -1
  13. package/builders/drupal6.js +3 -2
  14. package/builders/drupal9.js +1 -1
  15. package/config/drupal11/mysql8.cnf +44 -92
  16. package/inits/drupal10.js +5 -0
  17. package/inits/drupal11.js +7 -0
  18. package/inits/drupal6.js +4 -0
  19. package/inits/drupal7.js +3 -0
  20. package/inits/drupal8.js +3 -0
  21. package/inits/drupal9.js +5 -0
  22. package/netlify.toml +17 -1
  23. package/node_modules/@lando/mariadb/.lando.yml +1 -1
  24. package/node_modules/@lando/mariadb/.node-version +1 -1
  25. package/node_modules/@lando/mariadb/CHANGELOG.md +8 -1
  26. package/node_modules/@lando/mariadb/LICENSE +21 -0
  27. package/node_modules/@lando/mariadb/README.md +5 -2
  28. package/node_modules/@lando/mariadb/builders/mariadb.js +25 -22
  29. package/node_modules/@lando/mariadb/netlify.toml +9 -2
  30. package/node_modules/@lando/mariadb/package.json +8 -8
  31. package/node_modules/@lando/mysql/.lando.yml +1 -1
  32. package/node_modules/@lando/mysql/CHANGELOG.md +10 -0
  33. package/node_modules/@lando/mysql/LICENSE +21 -0
  34. package/node_modules/@lando/mysql/README.md +5 -2
  35. package/node_modules/@lando/mysql/builders/mysql.js +9 -5
  36. package/node_modules/@lando/mysql/netlify.toml +9 -0
  37. package/node_modules/@lando/mysql/package.json +8 -8
  38. package/node_modules/@lando/php/.lando.yml +1 -1
  39. package/node_modules/@lando/php/CHANGELOG.md +35 -1
  40. package/node_modules/@lando/php/LICENSE +21 -0
  41. package/node_modules/@lando/php/README.md +5 -2
  42. package/node_modules/@lando/php/builders/php.js +68 -15
  43. package/node_modules/@lando/php/images/5.6-apache/Dockerfile +0 -4
  44. package/node_modules/@lando/php/images/5.6-fpm/Dockerfile +0 -5
  45. package/node_modules/@lando/php/images/7.0-apache/Dockerfile +0 -4
  46. package/node_modules/@lando/php/images/7.0-fpm/Dockerfile +0 -4
  47. package/node_modules/@lando/php/images/7.1-apache/Dockerfile +0 -4
  48. package/node_modules/@lando/php/images/7.1-fpm/Dockerfile +0 -4
  49. package/node_modules/@lando/php/images/7.2-apache/Dockerfile +0 -4
  50. package/node_modules/@lando/php/images/7.2-fpm/Dockerfile +0 -4
  51. package/node_modules/@lando/php/images/7.3-apache/Dockerfile +0 -3
  52. package/node_modules/@lando/php/images/7.3-fpm/Dockerfile +0 -3
  53. package/node_modules/@lando/php/images/7.4-apache/Dockerfile +45 -55
  54. package/node_modules/@lando/php/images/7.4-fpm/Dockerfile +59 -69
  55. package/node_modules/@lando/php/images/8.0-apache/Dockerfile +45 -56
  56. package/node_modules/@lando/php/images/8.0-fpm/Dockerfile +45 -56
  57. package/node_modules/@lando/php/images/8.1-apache/Dockerfile +12 -2
  58. package/node_modules/@lando/php/images/8.1-fpm/Dockerfile +12 -2
  59. package/node_modules/@lando/php/images/8.2-apache/Dockerfile +12 -2
  60. package/node_modules/@lando/php/images/8.2-fpm/Dockerfile +12 -2
  61. package/node_modules/@lando/php/images/8.3-apache/Dockerfile +24 -4
  62. package/node_modules/@lando/php/images/8.3-fpm/Dockerfile +25 -4
  63. package/node_modules/@lando/php/images/8.4-apache/Dockerfile +27 -4
  64. package/node_modules/@lando/php/images/8.4-fpm/Dockerfile +27 -4
  65. package/node_modules/@lando/php/netlify.toml +10 -1
  66. package/node_modules/@lando/php/node_modules/@lando/nginx/.lando.yml +1 -1
  67. package/node_modules/@lando/php/node_modules/@lando/nginx/.node-version +1 -1
  68. package/node_modules/@lando/php/node_modules/@lando/nginx/CHANGELOG.md +9 -1
  69. package/node_modules/@lando/php/node_modules/@lando/nginx/LICENSE +21 -0
  70. package/node_modules/@lando/php/node_modules/@lando/nginx/README.md +5 -2
  71. package/node_modules/@lando/php/node_modules/@lando/nginx/builders/nginx.js +34 -15
  72. package/node_modules/@lando/php/node_modules/@lando/nginx/netlify.toml +9 -4
  73. package/node_modules/@lando/php/node_modules/@lando/nginx/package.json +8 -8
  74. package/node_modules/@lando/php/package.json +10 -10
  75. package/node_modules/@lando/php/scripts/install-composer.sh +4 -0
  76. package/node_modules/@lando/php/utils/add-build-step.js +17 -3
  77. package/node_modules/@lando/php/utils/get-install-commands.js +19 -3
  78. package/node_modules/@lando/postgres/.lando.yml +1 -1
  79. package/node_modules/@lando/postgres/CHANGELOG.md +11 -0
  80. package/node_modules/@lando/postgres/LICENSE +21 -0
  81. package/node_modules/@lando/postgres/README.md +5 -2
  82. package/node_modules/@lando/postgres/builders/postgres.js +9 -9
  83. package/node_modules/@lando/postgres/netlify.toml +9 -4
  84. package/node_modules/@lando/postgres/package.json +8 -8
  85. package/node_modules/semver/README.md +14 -4
  86. package/node_modules/semver/bin/semver.js +4 -1
  87. package/node_modules/semver/classes/comparator.js +2 -0
  88. package/node_modules/semver/classes/index.js +2 -0
  89. package/node_modules/semver/classes/range.js +2 -0
  90. package/node_modules/semver/classes/semver.js +22 -5
  91. package/node_modules/semver/functions/clean.js +2 -0
  92. package/node_modules/semver/functions/cmp.js +2 -0
  93. package/node_modules/semver/functions/coerce.js +2 -0
  94. package/node_modules/semver/functions/compare-build.js +2 -0
  95. package/node_modules/semver/functions/compare-loose.js +2 -0
  96. package/node_modules/semver/functions/compare.js +2 -0
  97. package/node_modules/semver/functions/diff.js +7 -12
  98. package/node_modules/semver/functions/eq.js +2 -0
  99. package/node_modules/semver/functions/gt.js +2 -0
  100. package/node_modules/semver/functions/gte.js +2 -0
  101. package/node_modules/semver/functions/inc.js +2 -0
  102. package/node_modules/semver/functions/lt.js +2 -0
  103. package/node_modules/semver/functions/lte.js +2 -0
  104. package/node_modules/semver/functions/major.js +2 -0
  105. package/node_modules/semver/functions/minor.js +2 -0
  106. package/node_modules/semver/functions/neq.js +2 -0
  107. package/node_modules/semver/functions/parse.js +2 -0
  108. package/node_modules/semver/functions/patch.js +2 -0
  109. package/node_modules/semver/functions/prerelease.js +2 -0
  110. package/node_modules/semver/functions/rcompare.js +2 -0
  111. package/node_modules/semver/functions/rsort.js +2 -0
  112. package/node_modules/semver/functions/satisfies.js +2 -0
  113. package/node_modules/semver/functions/sort.js +2 -0
  114. package/node_modules/semver/functions/valid.js +2 -0
  115. package/node_modules/semver/index.js +2 -0
  116. package/node_modules/semver/internal/constants.js +2 -0
  117. package/node_modules/semver/internal/debug.js +2 -0
  118. package/node_modules/semver/internal/identifiers.js +2 -0
  119. package/node_modules/semver/internal/lrucache.js +2 -0
  120. package/node_modules/semver/internal/parse-options.js +2 -0
  121. package/node_modules/semver/internal/re.js +10 -4
  122. package/node_modules/semver/package.json +8 -7
  123. package/node_modules/semver/preload.js +2 -0
  124. package/node_modules/semver/ranges/gtr.js +2 -0
  125. package/node_modules/semver/ranges/intersects.js +2 -0
  126. package/node_modules/semver/ranges/ltr.js +2 -0
  127. package/node_modules/semver/ranges/max-satisfying.js +2 -0
  128. package/node_modules/semver/ranges/min-satisfying.js +2 -0
  129. package/node_modules/semver/ranges/min-version.js +2 -0
  130. package/node_modules/semver/ranges/outside.js +2 -0
  131. package/node_modules/semver/ranges/simplify.js +2 -0
  132. package/node_modules/semver/ranges/subset.js +2 -0
  133. package/node_modules/semver/ranges/to-comparators.js +2 -0
  134. package/node_modules/semver/ranges/valid.js +2 -0
  135. package/package.json +13 -13
  136. package/LICENSE.md +0 -674
  137. package/PRIVACY.md +0 -169
  138. package/node_modules/@lando/mariadb/LICENSE.md +0 -674
  139. package/node_modules/@lando/mariadb/PRIVACY.md +0 -169
  140. package/node_modules/@lando/mariadb/tmpfile +0 -0
  141. package/node_modules/@lando/mysql/.tool-versions +0 -1
  142. package/node_modules/@lando/mysql/LICENSE.md +0 -674
  143. package/node_modules/@lando/mysql/PRIVACY.md +0 -169
  144. package/node_modules/@lando/php/LICENSE.md +0 -674
  145. package/node_modules/@lando/php/PRIVACY.md +0 -169
  146. package/node_modules/@lando/php/node_modules/@lando/nginx/LICENSE.md +0 -674
  147. package/node_modules/@lando/php/node_modules/@lando/nginx/PRIVACY.md +0 -169
  148. package/node_modules/@lando/postgres/LICENSE.md +0 -674
  149. package/node_modules/@lando/postgres/PRIVACY.md +0 -169
@@ -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,8 @@ RUN \
11
17
  exiftool \
12
18
  git-core \
13
19
  gnupg2 \
20
+ imagemagick \
21
+ mariadb-client \
14
22
  openssl \
15
23
  postgresql-client-15 \
16
24
  pv \
@@ -43,10 +51,12 @@ RUN \
43
51
  && install-php-extensions pdo_pgsql \
44
52
  && install-php-extensions redis \
45
53
  && install-php-extensions soap \
46
- && install-php-extensions xdebug \
54
+ && install-php-extensions xhprof \
47
55
  && install-php-extensions zip
48
56
 
49
- RUN install-php-extensions @composer-2
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
50
60
 
51
61
  RUN \
52
62
  chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
@@ -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,8 @@ RUN \
11
17
  exiftool \
12
18
  git-core \
13
19
  gnupg2 \
20
+ imagemagick \
21
+ mariadb-client \
14
22
  openssl \
15
23
  postgresql-client-15 \
16
24
  pv \
@@ -43,10 +51,12 @@ RUN \
43
51
  && install-php-extensions pdo_pgsql \
44
52
  && install-php-extensions redis \
45
53
  && install-php-extensions soap \
46
- && install-php-extensions xdebug \
54
+ && install-php-extensions xhprof \
47
55
  && install-php-extensions zip
48
56
 
49
- RUN install-php-extensions @composer-2
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
50
60
 
51
61
  RUN \
52
62
  chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
@@ -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,8 @@ RUN \
11
17
  exiftool \
12
18
  git-core \
13
19
  gnupg2 \
20
+ imagemagick \
21
+ mariadb-client \
14
22
  openssl \
15
23
  postgresql-client-15 \
16
24
  pv \
@@ -43,10 +51,12 @@ RUN \
43
51
  && install-php-extensions pdo_pgsql \
44
52
  && install-php-extensions redis \
45
53
  && install-php-extensions soap \
46
- && install-php-extensions xdebug \
54
+ && install-php-extensions xhprof \
47
55
  && install-php-extensions zip
48
56
 
49
- RUN install-php-extensions @composer-2
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
50
60
 
51
61
  RUN \
52
62
  chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
@@ -2,8 +2,23 @@
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
+
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
+
7
22
  RUN \
8
23
  mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
9
24
  && apt -y update && apt-get install -y \
@@ -11,13 +26,16 @@ RUN \
11
26
  exiftool \
12
27
  git-core \
13
28
  gnupg2 \
14
- openssl \
29
+ imagemagick \
15
30
  postgresql-client-15 \
16
31
  pv \
17
32
  rsync \
18
33
  ssh \
19
34
  unzip \
20
- wget
35
+ wget \
36
+ /tmp/sqlite3.deb \
37
+ /tmp/libsqlite3-0.deb \
38
+ /tmp/libsqlite3-dev.deb
21
39
 
22
40
  RUN \
23
41
  install-php-extensions @fix_letsencrypt \
@@ -43,10 +61,12 @@ RUN \
43
61
  && install-php-extensions pdo_pgsql \
44
62
  && install-php-extensions redis \
45
63
  && install-php-extensions soap \
46
- && install-php-extensions xdebug \
64
+ && install-php-extensions xhprof \
47
65
  && install-php-extensions zip
48
66
 
49
- RUN install-php-extensions @composer-2
67
+ # Install xdebug but disable it by default
68
+ RUN install-php-extensions xdebug \
69
+ && rm -f /usr/local/etc/php/conf.d/*xdebug.ini
50
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 \
@@ -2,8 +2,23 @@
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
+
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
+
7
22
  RUN \
8
23
  mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
9
24
  && apt -y update && apt-get install -y \
@@ -11,13 +26,17 @@ RUN \
11
26
  exiftool \
12
27
  git-core \
13
28
  gnupg2 \
14
- openssl \
29
+ imagemagick \
30
+ mariadb-client \
15
31
  postgresql-client-15 \
16
32
  pv \
17
33
  rsync \
18
34
  ssh \
19
35
  unzip \
20
- wget
36
+ wget \
37
+ /tmp/sqlite3.deb \
38
+ /tmp/libsqlite3-0.deb \
39
+ /tmp/libsqlite3-dev.deb
21
40
 
22
41
  RUN \
23
42
  install-php-extensions @fix_letsencrypt \
@@ -43,10 +62,12 @@ RUN \
43
62
  && install-php-extensions pdo_pgsql \
44
63
  && install-php-extensions redis \
45
64
  && install-php-extensions soap \
46
- && install-php-extensions xdebug \
65
+ && install-php-extensions xhprof \
47
66
  && install-php-extensions zip
48
67
 
49
- RUN install-php-extensions @composer-2
68
+ # Install xdebug but disable it by default
69
+ RUN install-php-extensions xdebug \
70
+ && rm -f /usr/local/etc/php/conf.d/*xdebug.ini
50
71
 
51
72
  RUN \
52
73
  chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
@@ -2,8 +2,23 @@
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
+
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
+
7
22
  RUN \
8
23
  mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
9
24
  && apt -y update && apt-get install -y \
@@ -11,13 +26,18 @@ RUN \
11
26
  exiftool \
12
27
  git-core \
13
28
  gnupg2 \
14
- openssl \
29
+ imagemagick \
30
+ mariadb-client \
31
+ mariadb-client-compat \
15
32
  postgresql-client-15 \
16
33
  pv \
17
34
  rsync \
18
35
  ssh \
19
36
  unzip \
20
- wget
37
+ wget \
38
+ /tmp/sqlite3.deb \
39
+ /tmp/libsqlite3-0.deb \
40
+ /tmp/libsqlite3-dev.deb
21
41
 
22
42
  RUN \
23
43
  install-php-extensions @fix_letsencrypt \
@@ -28,6 +48,7 @@ RUN \
28
48
  && install-php-extensions exif \
29
49
  && install-php-extensions gd \
30
50
  && install-php-extensions gettext \
51
+ && install-php-extensions imagick \
31
52
  && install-php-extensions imap \
32
53
  && install-php-extensions intl \
33
54
  && install-php-extensions ldap \
@@ -42,10 +63,12 @@ RUN \
42
63
  && install-php-extensions pdo_pgsql \
43
64
  && install-php-extensions redis \
44
65
  && install-php-extensions soap \
45
- # && install-php-extensions xdebug \
66
+ && install-php-extensions xhprof \
46
67
  && install-php-extensions zip
47
68
 
48
- RUN install-php-extensions @composer-2
69
+ # Install xdebug but disable it by default
70
+ RUN install-php-extensions xdebug \
71
+ && rm -f /usr/local/etc/php/conf.d/*xdebug.ini
49
72
 
50
73
  RUN \
51
74
  chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
@@ -2,8 +2,23 @@
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
+
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
+
7
22
  RUN \
8
23
  mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
9
24
  && apt -y update && apt-get install -y \
@@ -12,13 +27,18 @@ RUN \
12
27
  exiftool \
13
28
  git-core \
14
29
  gnupg2 \
15
- openssl \
30
+ imagemagick \
31
+ mariadb-client \
32
+ mariadb-client-compat \
16
33
  postgresql-client-15 \
17
34
  pv \
18
35
  rsync \
19
36
  ssh \
20
37
  unzip \
21
- wget
38
+ wget \
39
+ /tmp/sqlite3.deb \
40
+ /tmp/libsqlite3-0.deb \
41
+ /tmp/libsqlite3-dev.deb
22
42
 
23
43
  RUN \
24
44
  install-php-extensions @fix_letsencrypt \
@@ -29,6 +49,7 @@ RUN \
29
49
  && install-php-extensions exif \
30
50
  && install-php-extensions gd \
31
51
  && install-php-extensions gettext \
52
+ && install-php-extensions imagick \
32
53
  && install-php-extensions imap \
33
54
  && install-php-extensions intl \
34
55
  && install-php-extensions ldap \
@@ -43,10 +64,12 @@ RUN \
43
64
  && install-php-extensions pdo_pgsql \
44
65
  && install-php-extensions redis \
45
66
  && install-php-extensions soap \
46
- # && install-php-extensions xdebug \
67
+ && install-php-extensions xhprof \
47
68
  && install-php-extensions zip
48
69
 
49
- RUN install-php-extensions @composer-2
70
+ # Install xdebug but disable it by default
71
+ RUN install-php-extensions xdebug \
72
+ && rm -f /usr/local/etc/php/conf.d/*xdebug.ini
50
73
 
51
74
  RUN \
52
75
  chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
@@ -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", "x.com", "twitter.com", "/v/" ]
13
+ todoPatterns = [ "load", "CHANGELOG.html", "/v/", "x.com", "twitter.com", "www.php.net" ]
14
14
  skipPatterns = [ ".rss", ".gif", ".jpg" ]
15
15
  checkExternal = true
16
16
 
@@ -40,6 +40,15 @@
40
40
  output_path = "reports/lighthouse.html"
41
41
 
42
42
  # We need this so preview environments and the base site look ok on their own
43
+ [[redirects]]
44
+ from = "https://lando-php.netlify.app"
45
+ to = "https://lando-php.netlify.app/plugins/php/index.html"
46
+ status = 301
47
+ force = true
48
+ [[redirects]]
49
+ from = "https://lando-php.netlify.app/*"
50
+ to = "https://docs.lando.dev/:splat"
51
+ status = 301
43
52
  [[redirects]]
44
53
  from = "/"
45
54
  to = "/plugins/php"
@@ -5,7 +5,7 @@ proxy:
5
5
  services:
6
6
  cli:
7
7
  api: 4
8
- image: node:18
8
+ image: node:20
9
9
  command: sleep infinity
10
10
  ports:
11
11
  - 5173:5173/http
@@ -1,5 +1,12 @@
1
1
  ## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
2
2
 
3
+ ## v1.5.0 - [August 31, 2025](https://github.com/lando/nginx/releases/tag/v1.5.0)
4
+
5
+ * Switched images to [bitnamilegacy](https://github.com/bitnami/containers/issues/83267) namespace
6
+ * Added `nginx:1.29`
7
+ * Added `nginx:1.28`
8
+ * Updated `nginx:1.27` to `1.27.5`
9
+
3
10
  ## v1.4.4 - [December 7, 2024](https://github.com/lando/nginx/releases/tag/v1.4.4)
4
11
 
5
12
  * Optimized for `midcore`
@@ -32,7 +39,8 @@
32
39
  * Changed default version to `1.26`
33
40
 
34
41
  ## v1.1.0 - [March 8, 2024](https://github.com/lando/nginx/releases/tag/v1.1.0)
35
- * Updated to latest database services.
42
+
43
+ * Updated to latest database services.
36
44
 
37
45
  ## v1.0.0 - [December 7, 2023](https://github.com/lando/ngin/releases/tag/v1.0.0)
38
46
 
@@ -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.
@@ -49,5 +49,8 @@ Made with [contributors-img](https://contrib.rocks).
49
49
 
50
50
  ## Other Selected Resources
51
51
 
52
- * [LICENSE](https://github.com/lando/nginx/blob/main/LICENSE.md)
53
- * [The best professional advice ever](https://www.youtube.com/watch?v=tkBVDh7my9Q)
52
+ * [LICENSE](/LICENSE)
53
+ * [TERMS OF USE](https://docs.lando.dev/terms)
54
+ * [PRIVACY POLICY](https://docs.lando.dev/privacy)
55
+ * [CODE OF CONDUCT](https://docs.lando.dev/coc)
56
+
@@ -8,21 +8,40 @@ const path = require('path');
8
8
  module.exports = {
9
9
  name: 'nginx',
10
10
  config: {
11
- version: '1.27',
12
- supported: ['1.16', '1.17', '1.18', '1.19', '1.20', '1.21', '1.22', '1.23', '1.24', '1.25', '1.26', '1.27'],
11
+ version: '1.29',
12
+ supported: [
13
+ '1',
14
+ '1.29',
15
+ '1.28',
16
+ '1.27',
17
+ '1.26',
18
+ '1.25',
19
+ '1.24',
20
+ '1.23',
21
+ '1.22',
22
+ '1.21',
23
+ '1.20',
24
+ '1.19',
25
+ '1.18',
26
+ '1.17',
27
+ '1.16',
28
+ ],
13
29
  pinPairs: {
14
- '1.27': 'bitnami/nginx:1.27.2-debian-12-r0',
15
- '1.26': 'bitnami/nginx:1.26.2-debian-12-r6',
16
- '1.25': 'bitnami/nginx:1.25.5-debian-12-r7',
17
- '1.24': 'bitnami/nginx:1.24.0-debian-12-r25',
18
- '1.23': 'bitnami/nginx:1.23.4-debian-11-r24',
19
- '1.22': 'bitnami/nginx:1.22.1-debian-11-r66',
20
- '1.21': 'bitnami/nginx:1.21.6-debian-11-r21',
21
- '1.20': 'bitnami/nginx:1.20.2-debian-11-r9',
22
- '1.19': 'bitnami/nginx:1.19.10-debian-10-r94',
23
- '1.18': 'bitnami/nginx:1.18.0-debian-10-r363',
24
- '1.17': 'bitnami/nginx:1.17.10-debian-10-r71',
25
- '1.16': 'bitnami/nginx:1.16.1-debian-10-r106',
30
+ '1': 'bitnamilegacy/nginx:1.29.1-debian-12-r0',
31
+ '1.29': 'bitnamilegacy/nginx:1.29.1-debian-12-r0',
32
+ '1.28': 'bitnamilegacy/nginx:1.28.0-debian-12-r4',
33
+ '1.27': 'bitnamilegacy/nginx:1.27.5-debian-12-r1',
34
+ '1.26': 'bitnamilegacy/nginx:1.26.2-debian-12-r10',
35
+ '1.25': 'bitnamilegacy/nginx:1.25.5-debian-12-r7',
36
+ '1.24': 'bitnamilegacy/nginx:1.24.0-debian-12-r25',
37
+ '1.23': 'bitnamilegacy/nginx:1.23.4-debian-11-r24',
38
+ '1.22': 'bitnamilegacy/nginx:1.22.1-debian-11-r66',
39
+ '1.21': 'bitnamilegacy/nginx:1.21.6-debian-11-r21',
40
+ '1.20': 'bitnamilegacy/nginx:1.20.2-debian-11-r9',
41
+ '1.19': 'bitnamilegacy/nginx:1.19.10',
42
+ '1.18': 'bitnamilegacy/nginx:1.18.0',
43
+ '1.17': 'bitnamilegacy/nginx:1.17.10',
44
+ '1.16': 'bitnamilegacy/nginx:1.16.1-r146',
26
45
  },
27
46
  patchesSupported: true,
28
47
  confSrc: path.resolve(__dirname, '..', 'config'),
@@ -71,7 +90,7 @@ module.exports = {
71
90
 
72
91
  // Build the default stuff here
73
92
  const nginx = {
74
- image: `bitnami/nginx:${options.version}`,
93
+ image: `bitnamilegacy/nginx:${options.version}`,
75
94
  command: `/launch.sh ${vhosts} ${server} ${params}`,
76
95
  environment: {
77
96
  NGINX_HTTP_PORT_NUMBER: '80',
@@ -14,8 +14,6 @@
14
14
  skipPatterns = [ ".rss", ".gif", ".jpg" ]
15
15
  checkExternal = true
16
16
 
17
-
18
-
19
17
  # Sets our asset optimization
20
18
  [build.processing.css]
21
19
  bundle = true
@@ -41,9 +39,16 @@
41
39
  [plugins.inputs.audits]
42
40
  output_path = "reports/lighthouse.html"
43
41
 
44
-
45
-
46
42
  # We need this so preview environments and the base site look ok on their own
43
+ [[redirects]]
44
+ from = "https://lando-nginx.netlify.app"
45
+ to = "https://lando-nginx.netlify.app/plugins/nginx/index.html"
46
+ status = 301
47
+ force = true
48
+ [[redirects]]
49
+ from = "https://lando-nginx.netlify.app/*"
50
+ to = "https://docs.lando.dev/:splat"
51
+ status = 301
47
52
  [[redirects]]
48
53
  from = "/"
49
54
  to = "/plugins/nginx"
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@lando/nginx",
3
3
  "description": "A Lando plugin that provides a tight integration with NGINX.",
4
- "version": "1.4.4",
4
+ "version": "1.5.0",
5
5
  "author": "Mike Pirog @pirog",
6
- "license": "GPL-3.0",
6
+ "license": "MIT",
7
7
  "repository": "lando/nginx",
8
8
  "bugs": "https://github.com/lando/nginx/issues/new/choose",
9
9
  "homepage": "https://github.com/lando/nginx",
@@ -14,7 +14,7 @@
14
14
  "nginx"
15
15
  ],
16
16
  "engines": {
17
- "node": ">=18.0.0"
17
+ "node": ">=20.0.0"
18
18
  },
19
19
  "lando": {},
20
20
  "main": "index.js",
@@ -48,7 +48,7 @@
48
48
  "devDependencies": {
49
49
  "@babel/eslint-parser": "^7.16.0",
50
50
  "@lando/leia": "^1.0.0-beta.3",
51
- "@lando/vitepress-theme-default-plus": "^1.1.0-beta.24",
51
+ "@lando/vitepress-theme-default-plus": "^1.1.1",
52
52
  "chai": "^4.3.4",
53
53
  "command-line-test": "^1.0.10",
54
54
  "eslint": "^7.32.0",
@@ -62,9 +62,9 @@
62
62
  "lodash"
63
63
  ],
64
64
  "dist": {
65
- "integrity": "sha512-mW8wzVbKHLNsQhsWyuxx4pwxgB26hRe6gAe82VzrgBpYCyNqyR2WbkvoTXM1jlllyUQaHB3V8FtZLxNREKWy3g==",
66
- "shasum": "379bada9fb0b1bddfa323b6f574beed862457236",
67
- "filename": "lando-nginx-1.4.4.tgz",
68
- "unpackedSize": 1481520
65
+ "integrity": "sha512-5ucFuVSujqYHcrRYfp7h7hJoeB4hDIykCa3jCSrOzXEh9yJA5tOoIHWZ6sA5bVWMZ+fmVjJwN4ECq5bCSL4fXQ==",
66
+ "shasum": "4f17dd1cd473fd82fffc629a87f09b695826bf75",
67
+ "filename": "lando-nginx-1.5.0.tgz",
68
+ "unpackedSize": 1438911
69
69
  }
70
70
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@lando/php",
3
3
  "description": "A Lando plugin that provides a tight integration with PHP.",
4
- "version": "1.6.3",
4
+ "version": "1.8.0",
5
5
  "author": "Mike Pirog @pirog",
6
- "license": "GPL-3.0",
6
+ "license": "MIT",
7
7
  "repository": "lando/php",
8
8
  "bugs": "https://github.com/lando/php/issues/new/choose",
9
9
  "homepage": "https://github.com/lando/php",
@@ -14,7 +14,7 @@
14
14
  "php"
15
15
  ],
16
16
  "engines": {
17
- "node": ">=18.0.0"
17
+ "node": ">=20.0.0"
18
18
  },
19
19
  "lando": {},
20
20
  "main": "index.js",
@@ -43,20 +43,20 @@
43
43
  "test": "npm run lint && npm run test:unit"
44
44
  },
45
45
  "dependencies": {
46
- "@lando/nginx": "^1.4.4",
46
+ "@lando/nginx": "^1.5.0",
47
47
  "lodash": "^4.17.21",
48
48
  "semver": "^7.6.3"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@babel/eslint-parser": "^7.25.9",
52
52
  "@lando/leia": "0.6.7",
53
- "@lando/vitepress-theme-default-plus": "^1.1.0-beta.24",
53
+ "@lando/vitepress-theme-default-plus": "^1.1.1",
54
54
  "chai": "^4.3.4",
55
55
  "command-line-test": "^1.0.10",
56
56
  "eslint": "^7.32.0",
57
57
  "eslint-config-google": "^0.9.1",
58
58
  "eslint-plugin-vue": "^8.0.3",
59
- "mocha": "^9.1.2",
59
+ "mocha": "^11.1.0",
60
60
  "nyc": "^15.1.0",
61
61
  "vitepress": "^1.3.4"
62
62
  },
@@ -66,9 +66,9 @@
66
66
  "semver"
67
67
  ],
68
68
  "dist": {
69
- "integrity": "sha512-ob+QIOJAhWamdWvGKl8DNISxFOjsxXWGd7cl3M/afWThMRT+EH7iYyy2MuBzxAF7YbQ3FfxcoGSt3YvH1fRiNg==",
70
- "shasum": "6f506661057bf7807c5f156264e9e2822c347fa6",
71
- "filename": "lando-php-1.6.3.tgz",
72
- "unpackedSize": 3119748
69
+ "integrity": "sha512-iacB+ZbgZlcZen5zwnsaHCluP9ZpE2hIKzFwQlzMWooXC39LeR5z1Kw6pt0BoC9a9dmmTVoYAMbf/vGwenuwBw==",
70
+ "shasum": "a63245f0e3fc8a4af8ce2f62cb383af253787ffd",
71
+ "filename": "lando-php-1.8.0.tgz",
72
+ "unpackedSize": 3042655
73
73
  }
74
74
  }