@lando/php 1.3.0 → 1.5.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 (88) hide show
  1. package/.lando.yml +19 -9
  2. package/.nyc_output/processinfo/8945ae9f-6c30-497d-adf7-68dc36912251.json +1 -0
  3. package/.nyc_output/processinfo/ef5412bf-389b-4667-ab9c-d214afae0c2b.json +1 -0
  4. package/.nyc_output/processinfo/index.json +1 -1
  5. package/CHANGELOG.md +37 -14
  6. package/README.md +5 -0
  7. package/builders/php.js +6 -8
  8. package/coverage/index.html +1 -1
  9. package/images/5.6-apache/Dockerfile +7 -2
  10. package/images/5.6-fpm/Dockerfile +7 -2
  11. package/images/7.0-apache/Dockerfile +7 -2
  12. package/images/7.0-fpm/Dockerfile +7 -2
  13. package/images/7.1-apache/Dockerfile +8 -8
  14. package/images/7.1-fpm/Dockerfile +8 -8
  15. package/images/7.2-apache/Dockerfile +9 -9
  16. package/images/7.2-fpm/Dockerfile +9 -9
  17. package/images/7.3-apache/Dockerfile +2 -6
  18. package/images/7.3-fpm/Dockerfile +2 -6
  19. package/images/7.4-apache/Dockerfile +2 -6
  20. package/images/7.4-fpm/Dockerfile +2 -6
  21. package/images/8.0-apache/Dockerfile +2 -6
  22. package/images/8.0-fpm/Dockerfile +2 -6
  23. package/images/8.1-apache/Dockerfile +2 -6
  24. package/images/8.1-fpm/Dockerfile +2 -6
  25. package/images/8.2-apache/Dockerfile +2 -6
  26. package/images/8.2-fpm/Dockerfile +2 -6
  27. package/images/8.3-apache/Dockerfile +2 -6
  28. package/images/8.3-fpm/Dockerfile +2 -6
  29. package/images/8.4-apache/Dockerfile +56 -0
  30. package/images/8.4-fpm/Dockerfile +56 -0
  31. package/netlify.toml +12 -9
  32. package/node_modules/@lando/nginx/.eslintignore +3 -2
  33. package/node_modules/@lando/nginx/.lando.yml +20 -10
  34. package/node_modules/@lando/nginx/.node-version +1 -1
  35. package/node_modules/@lando/nginx/CHANGELOG.md +40 -19
  36. package/node_modules/@lando/nginx/README.md +6 -0
  37. package/node_modules/@lando/nginx/builders/nginx.js +17 -18
  38. package/node_modules/@lando/nginx/config/launch.sh +8 -2
  39. package/node_modules/@lando/nginx/netlify.toml +28 -6
  40. package/node_modules/@lando/nginx/package.json +21 -14
  41. package/node_modules/@lando/nginx/scripts/install-render-template.sh +47 -0
  42. package/node_modules/@lando/nginx/utils/add-build-step.js +14 -0
  43. package/node_modules/semver/README.md +49 -32
  44. package/node_modules/semver/bin/semver.js +5 -14
  45. package/node_modules/semver/classes/range.js +28 -13
  46. package/node_modules/semver/classes/semver.js +1 -1
  47. package/node_modules/semver/functions/coerce.js +13 -5
  48. package/node_modules/semver/internal/lrucache.js +40 -0
  49. package/node_modules/semver/internal/re.js +7 -2
  50. package/node_modules/semver/package.json +8 -18
  51. package/package.json +11 -10
  52. package/.nyc_output/processinfo/82ec8255-1dc4-4066-ab80-acce72694169.json +0 -1
  53. package/.nyc_output/processinfo/8d0211c6-0d44-418c-8bdb-310f5379ce84.json +0 -1
  54. package/images/5.3-apache/Dockerfile +0 -83
  55. package/images/5.3-apache/apache2.conf +0 -64
  56. package/images/5.3-fpm/Dockerfile +0 -80
  57. package/images/5.3-fpm/docker-php-ext-enable +0 -83
  58. package/images/5.3-fpm/php-fpm.conf +0 -65
  59. package/images/5.4-apache/Dockerfile +0 -79
  60. package/images/5.4-apache/apache2-foreground +0 -17
  61. package/images/5.4-fpm/Dockerfile +0 -75
  62. package/images/5.5-apache/Dockerfile +0 -77
  63. package/images/5.5-fpm/Dockerfile +0 -76
  64. package/node_modules/@lando/nginx/.nyc_output/68963536-315a-41b5-9dda-1c3f30fb9c99.json +0 -1
  65. package/node_modules/@lando/nginx/.nyc_output/e965c931-7444-4e4e-8bc1-c51f696e4cfe.json +0 -1
  66. package/node_modules/@lando/nginx/.nyc_output/processinfo/68963536-315a-41b5-9dda-1c3f30fb9c99.json +0 -1
  67. package/node_modules/@lando/nginx/.nyc_output/processinfo/e965c931-7444-4e4e-8bc1-c51f696e4cfe.json +0 -1
  68. package/node_modules/@lando/nginx/.nyc_output/processinfo/index.json +0 -1
  69. package/node_modules/@lando/nginx/coverage/base.css +0 -224
  70. package/node_modules/@lando/nginx/coverage/block-navigation.js +0 -87
  71. package/node_modules/@lando/nginx/coverage/favicon.png +0 -0
  72. package/node_modules/@lando/nginx/coverage/index.html +0 -101
  73. package/node_modules/@lando/nginx/coverage/prettify.css +0 -1
  74. package/node_modules/@lando/nginx/coverage/prettify.js +0 -2
  75. package/node_modules/@lando/nginx/coverage/sort-arrow-sprite.png +0 -0
  76. package/node_modules/@lando/nginx/coverage/sorter.js +0 -196
  77. package/node_modules/semver/node_modules/lru-cache/LICENSE +0 -15
  78. package/node_modules/semver/node_modules/lru-cache/README.md +0 -166
  79. package/node_modules/semver/node_modules/lru-cache/index.js +0 -334
  80. package/node_modules/semver/node_modules/lru-cache/package.json +0 -34
  81. package/node_modules/semver/node_modules/yallist/LICENSE +0 -15
  82. package/node_modules/semver/node_modules/yallist/README.md +0 -204
  83. package/node_modules/semver/node_modules/yallist/iterator.js +0 -8
  84. package/node_modules/semver/node_modules/yallist/package.json +0 -29
  85. package/node_modules/semver/node_modules/yallist/yallist.js +0 -426
  86. /package/.nyc_output/{82ec8255-1dc4-4066-ab80-acce72694169.json → 8945ae9f-6c30-497d-adf7-68dc36912251.json} +0 -0
  87. /package/.nyc_output/{8d0211c6-0d44-418c-8bdb-310f5379ce84.json → ef5412bf-389b-4667-ab9c-d214afae0c2b.json} +0 -0
  88. /package/{tmpfile → node_modules/@lando/nginx/tmpfile} +0 -0
package/.lando.yml CHANGED
@@ -1,14 +1,24 @@
1
- name: lando-php-plugin
1
+ name: docs.php
2
+ proxy:
3
+ cli:
4
+ - docs.php.lndo.site:5173
2
5
  services:
3
- node:
4
- type: node:18
5
- build:
6
- - npm install
6
+ cli:
7
+ api: 4
8
+ image: node:18
9
+ command: sleep infinity
10
+ ports:
11
+ - 5173:5173/http
7
12
  scanner: false
8
- ssl: false
9
- sslExpose: false
13
+ user: node
14
+ build:
15
+ app: |
16
+ npm install
10
17
  tooling:
11
18
  node:
12
- service: node
19
+ service: cli
13
20
  npm:
14
- service: node
21
+ service: cli
22
+ vitepress:
23
+ service: cli
24
+ cmd: npx vitepress
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":2101,"argv":["/opt/hostedtoolcache/node/18.20.4/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1729213064367,"ppid":2090,"coverageFilename":"/home/runner/work/php/php/.nyc_output/8945ae9f-6c30-497d-adf7-68dc36912251.json","externalId":"","uuid":"8945ae9f-6c30-497d-adf7-68dc36912251","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":2090,"argv":["/opt/hostedtoolcache/node/18.20.4/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1729213064183,"ppid":2089,"coverageFilename":"/home/runner/work/php/php/.nyc_output/ef5412bf-389b-4667-ab9c-d214afae0c2b.json","externalId":"","uuid":"ef5412bf-389b-4667-ab9c-d214afae0c2b","files":[]}
@@ -1 +1 @@
1
- {"processes":{"82ec8255-1dc4-4066-ab80-acce72694169":{"parent":null,"children":[]},"8d0211c6-0d44-418c-8bdb-310f5379ce84":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
1
+ {"processes":{"8945ae9f-6c30-497d-adf7-68dc36912251":{"parent":null,"children":[]},"ef5412bf-389b-4667-ab9c-d214afae0c2b":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
package/CHANGELOG.md CHANGED
@@ -1,40 +1,63 @@
1
+ ## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
2
+
3
+ ## v1.5.0 - [October 18, 2024](https://github.com/lando/php/releases/tag/v1.5.0)
4
+
5
+ * Added preliminary support for PHP 8.4RC2
6
+
7
+ ## v1.4.0 - [October 17, 2024](https://github.com/lando/php/releases/tag/v1.4.0)
8
+
9
+ * Fixed bug causing `CA` and `certs` to not be appropriately installed in the `appserver` when using `nginx`
10
+ * Updated to [@lando/nginx@1.3.0](https://github.com/lando/nginx/releases/tag/v1.3.0) [#131](https://github.com/lando/php/issues/131)
11
+ * Updated all images `>=5.6` to `gen4`
12
+
1
13
  ## v1.3.0 - [March 8, 2024](https://github.com/lando/php/releases/tag/v1.3.0)
2
- * Updated to latest database services.
14
+
15
+ * Updated to latest database services.
3
16
 
4
17
  ## v1.2.0 - [February 16, 2024](https://github.com/lando/php/releases/tag/v1.2.0)
5
- * Get PHP image builds working to make PHP 8.3 images available. **Note Imagick is [temporarily unavailable](https://github.com/Imagick/imagick/pull/641)!**
6
- * Stable version of xdebug for PHP 8.3. [#91](https://github.com/lando/php/pull/91)
18
+
19
+ * Get PHP image builds working to make PHP 8.3 images available. **Note Imagick is [temporarily unavailable](https://github.com/Imagick/imagick/pull/641)!**
20
+ * Stable version of xdebug for PHP 8.3. [#91](https://github.com/lando/php/pull/91)
7
21
 
8
22
  ## v1.1.0 - [January 29, 2024](https://github.com/lando/php/releases/tag/v1.1.0)
9
- * Add support for PHP 8.3. [#77](https://github.com/lando/php/issues/77)
23
+
24
+ * Add support for PHP 8.3. [#77](https://github.com/lando/php/issues/77)
10
25
 
11
26
  ## v1.0.0 - [December 7, 2023](https://github.com/lando/php/releases/tag/v1.0.0)
12
- * Dialed fully for `lando update`
27
+
28
+ * Dialed fully for `lando update`
13
29
 
14
30
  ## v0.10.2 - [November 28, 2023](https://github.com/lando/php/releases/tag/v0.10.2)
15
- * Added option to override the image powering the service.
16
- * Removed apparmor step from image building.
31
+
32
+ * Added option to override the image powering the service.
33
+ * Removed apparmor step from image building.
17
34
 
18
35
  ## v0.10.1 - [November 27, 2023](https://github.com/lando/php/releases/tag/v0.10.1)
19
- * Removed relative references to dependencies.
20
- * Added nginxServiceType option so other services can override the default `php-nginx` service with their own.
36
+
37
+ * Removed relative references to dependencies.
38
+ * Added nginxServiceType option so other services can override the default `php-nginx` service with their own.
21
39
 
22
40
  ## v0.10.0 - [November 21, 2023](https://github.com/lando/php/releases/tag/v0.10.0)
23
- * Removed MultiViews from Apache config. [#66](https://github.com/lando/php/issues/66)
24
- * Isolated PHP to work as a standalone service. [#78](https://github.com/lando/php/pull/78)
41
+
42
+ * Removed MultiViews from Apache config. [#66](https://github.com/lando/php/issues/66)
43
+ * Isolated PHP to work as a standalone service. [#78](https://github.com/lando/php/pull/78)
25
44
 
26
45
  ## v0.9.0 - [July 3, 2023](https://github.com/lando/php/releases/tag/v0.9.0)
27
- * Removed bundle-dependencies and version-bump-prompt from plugin.
28
- * Updated package to use prepare-release-action.
29
- * Updated documentation to reflect new release process.
46
+
47
+ * Removed bundle-dependencies and version-bump-prompt from plugin.
48
+ * Updated package to use prepare-release-action.
49
+ * Updated documentation to reflect new release process.
30
50
 
31
51
  ## v0.8.0 - [April 17th, 2023](https://github.com/lando/php/releases/tag/v0.8.0)
52
+
32
53
  * Bumped Redis plugin to redis-5.3.7. [#57](https://github.com/lando/php/pull/57)
33
54
 
34
55
  ## v0.7.1 - [January 6th, 2023](https://github.com/lando/php/releases/tag/v0.7.1)
56
+
35
57
  * Added support for PHP 8.2 [#51](https://github.com/lando/php/pull/51)
36
58
 
37
59
  ## v0.7.0 - [December 12, 2022](https://github.com/lando/php/releases/tag/v0.7.0)
60
+
38
61
  * Added bundle-dependencies to release process.
39
62
  * Fixed bug in plugin dogfooding test.
40
63
 
package/README.md CHANGED
@@ -39,6 +39,11 @@ If you'd like to report a bug or submit a feature request then please [use the i
39
39
 
40
40
  We try to log all changes big and small in both [THE CHANGELOG](https://github.com/lando/php/blob/main/CHANGELOG.md) and the [release notes](https://github.com/lando/php/releases).
41
41
 
42
+ ## Maintainers
43
+
44
+ * [@pirog](https://github.com/pirog)
45
+ * [@reynoldsalec](https://github.com/reynoldsalec)
46
+
42
47
  ## Contributors
43
48
 
44
49
  <a href="https://github.com/lando/php/graphs/contributors">
package/builders/php.js CHANGED
@@ -67,7 +67,7 @@ const parseNginx = options => {
67
67
  options.remoteFiles.vhosts = '/opt/bitnami/nginx/conf/lando.conf';
68
68
  options.defaultFiles.vhosts = (options.ssl) ? 'default-ssl.conf.tpl' : 'default.conf.tpl';
69
69
  options.nginxSsl = options.ssl;
70
- options.ssl = false;
70
+ options.sslExpose = false;
71
71
  if (process.platform === 'win32') {
72
72
  options.volumes.push(`${options.confDest}/zz-lando.conf:/usr/local/etc/php-fpm.d/zz-lando.conf`);
73
73
  }
@@ -91,10 +91,9 @@ module.exports = {
91
91
  name: 'php',
92
92
  config: {
93
93
  version: '7.4',
94
- supported: ['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'],
94
+ 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'],
95
95
  legacy: ['7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
96
96
  gen2: ['5.5', '5.4', '5.3'],
97
- gen3: ['7.2', '7.1', '7.0', '5.6'],
98
97
  path: [
99
98
  '/app/vendor/bin',
100
99
  '/app/bin',
@@ -125,6 +124,7 @@ module.exports = {
125
124
  _php: '/usr/local/etc/php/conf.d/xxx-lando-default.ini',
126
125
  vhosts: '/etc/apache2/sites-enabled/000-default.conf',
127
126
  php: '/usr/local/etc/php/conf.d/zzz-lando-my-custom.ini',
127
+ pool: '/usr/local/etc/php-fpm.d/zz-lando.conf',
128
128
  },
129
129
  sources: [],
130
130
  suffix: '4',
@@ -140,7 +140,7 @@ module.exports = {
140
140
  options = parseConfig(_.merge({}, config, options));
141
141
  // Mount our default php config
142
142
  options.volumes.push(`${options.confDest}/${options.defaultFiles._php}:${options.remoteFiles._php}`);
143
-
143
+ options.volumes.push(`${options.confDest}/${options.defaultFiles.pool}:${options.remoteFiles.pool}`);
144
144
  // Shift on the docker entrypoint if this is a more recent version
145
145
  if (options.version !== 'custom' && semver.gt(semver.coerce(options.version), '5.5.0')) {
146
146
  options.command.unshift('docker-php-entrypoint');
@@ -149,14 +149,12 @@ module.exports = {
149
149
  // If xdebug is set to "true" then map it to "debug"
150
150
  if (options.xdebug === true) options.xdebug = 'debug';
151
151
 
152
- // If this is a legacy php version then switch the suffix
153
- if (_.includes(options.gen3, options.version)) options.suffix = '3';
152
+ // for older generation models
154
153
  if (_.includes(options.gen2, options.version)) options.suffix = '2';
155
154
 
156
155
  // Build the php
157
156
  const php = {
158
- image: _.get(options, 'image') ?
159
- options.image : `devwithlando/php:${options.version}-${options.phpServer}-${options.suffix}`,
157
+ image: options.image ?? `devwithlando/php:${options.version}-${options.phpServer}-${options.suffix}`,
160
158
  environment: _.merge({}, options.environment, {
161
159
  PATH: options.path.join(':'),
162
160
  LANDO_WEBROOT: `/app/${options.webroot}`,
@@ -86,7 +86,7 @@
86
86
  <div class='footer quiet pad2 space-top1 center small'>
87
87
  Code coverage generated by
88
88
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
89
- at 2024-03-11T17:57:05.671Z
89
+ at 2024-10-18T00:57:44.564Z
90
90
  </div>
91
91
  <script src="prettify.js"></script>
92
92
  <script>
@@ -1,9 +1,14 @@
1
- # docker build -t devwithlando/php:5.6-apache-3 .
1
+ # docker build -t devwithlando/php:5.6-apache-4 .
2
2
 
3
3
  FROM php:5.6-apache-stretch
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list \
9
+ && sed -i '/stretch-updates/d' /etc/apt/sources.list \
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 \
7
12
  && apt -y update && apt-get install -y \
8
13
  gnupg2 \
9
14
  wget \
@@ -1,9 +1,14 @@
1
- # docker build -t devwithlando/php:5.6-fpm-3 .
1
+ # docker build -t devwithlando/php:5.6-fpm-4 .
2
2
 
3
3
  FROM php:5.6-fpm-stretch
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list \
9
+ && sed -i '/stretch-updates/d' /etc/apt/sources.list \
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 \
7
12
  && apt -y update && apt-get install -y \
8
13
  gnupg2 \
9
14
  wget \
@@ -1,9 +1,14 @@
1
- # docker build -t devwithlando/php:7.0-apache-3 .
1
+ # docker build -t devwithlando/php:7.0-apache-4 .
2
2
 
3
3
  FROM php:7.0-apache-stretch
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list \
9
+ && sed -i '/stretch-updates/d' /etc/apt/sources.list \
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 \
7
12
  && apt -y update && apt-get install -y \
8
13
  gnupg2 \
9
14
  wget \
@@ -1,9 +1,14 @@
1
- # docker build -t devwithlando/php:7.0-fpm-3 .
1
+ # docker build -t devwithlando/php:7.0-fpm-4 .
2
2
 
3
3
  FROM php:7.0-fpm-stretch
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list \
9
+ && sed -i '/stretch-updates/d' /etc/apt/sources.list \
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 \
7
12
  && apt -y update && apt-get install -y \
8
13
  gnupg2 \
9
14
  wget \
@@ -1,19 +1,19 @@
1
- # docker build -t devwithlando/php:7.1-apache-3 .
1
+ # docker build -t devwithlando/php:7.1-apache-4 .
2
2
 
3
3
  FROM php:7.1-apache-buster
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
- && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i '/security.debian.org/s/^/#/' /etc/apt/sources.list \
9
+ && echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
10
+ && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
12
11
  && apt-get update && apt-get install -y \
13
12
  bzip2 \
14
13
  default-mysql-client \
15
14
  exiftool \
16
15
  git-core \
16
+ gnupg2 \
17
17
  imagemagick \
18
18
  libbz2-dev \
19
19
  libc-client-dev \
@@ -32,7 +32,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
32
32
  libzip-dev \
33
33
  libonig-dev \
34
34
  openssl \
35
- postgresql-client-10 \
35
+ postgresql-client-11 \
36
36
  pv \
37
37
  rsync \
38
38
  ssh \
@@ -1,19 +1,19 @@
1
- # docker build -t devwithlando/php:7.1-fpm-3 .
1
+ # docker build -t devwithlando/php:7.1-fpm-4 .
2
2
 
3
3
  FROM php:7.1-fpm-buster
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
- && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i '/security.debian.org/s/^/#/' /etc/apt/sources.list \
9
+ && echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
10
+ && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
12
11
  && apt-get update && apt-get install -y \
13
12
  bzip2 \
14
13
  default-mysql-client \
15
14
  exiftool \
16
15
  git-core \
16
+ gnupg2 \
17
17
  imagemagick \
18
18
  libbz2-dev \
19
19
  libc-client-dev \
@@ -32,7 +32,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
32
32
  libzip-dev \
33
33
  libonig-dev \
34
34
  openssl \
35
- postgresql-client-10 \
35
+ postgresql-client-11 \
36
36
  pv \
37
37
  rsync \
38
38
  ssh \
@@ -1,19 +1,19 @@
1
- # docker build -t devwithlando/php:7.2-apache-3 .
1
+ # docker build -t devwithlando/php:7.2-apache-4 .
2
2
 
3
3
  FROM php:7.2-apache-buster
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
- && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i '/security.debian.org/s/^/#/' /etc/apt/sources.list \
9
+ && echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
10
+ && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
12
11
  && apt-get update && apt-get install -y \
13
12
  bzip2 \
14
13
  default-mysql-client \
15
14
  exiftool \
16
15
  git-core \
16
+ gnupg2 \
17
17
  imagemagick \
18
18
  libbz2-dev \
19
19
  libc-client-dev \
@@ -31,7 +31,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
31
31
  libzip-dev \
32
32
  libonig-dev \
33
33
  openssl \
34
- postgresql-client-10 \
34
+ postgresql-client-11 \
35
35
  pv \
36
36
  rsync \
37
37
  ssh \
@@ -45,7 +45,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
45
45
  && pecl install memcached \
46
46
  && pecl install oauth-2.0.2 \
47
47
  && pecl install redis-3.1.2 \
48
- && pecl install xdebug \
48
+ && pecl install xdebug-2.9.8 \
49
49
  && docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr \
50
50
  && docker-php-ext-configure imap --with-imap-ssl --with-kerberos \
51
51
  && docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
@@ -1,19 +1,19 @@
1
- # docker build -t devwithlando/php:7.2-fpm-3 .
1
+ # docker build -t devwithlando/php:7.2-fpm-4 .
2
2
 
3
3
  FROM php:7.2-fpm-buster
4
4
 
5
5
  # Install dependencies we need
6
- RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
- && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
6
+ RUN \
7
+ sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list \
8
+ && sed -i '/security.debian.org/s/^/#/' /etc/apt/sources.list \
9
+ && echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99ignore-release-date \
10
+ && mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
12
11
  && apt-get update && apt-get install -y \
13
12
  bzip2 \
14
13
  default-mysql-client \
15
14
  exiftool \
16
15
  git-core \
16
+ gnupg2 \
17
17
  imagemagick \
18
18
  libbz2-dev \
19
19
  libc-client-dev \
@@ -31,7 +31,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
31
31
  libzip-dev \
32
32
  libonig-dev \
33
33
  openssl \
34
- postgresql-client-10 \
34
+ postgresql-client-11 \
35
35
  pv \
36
36
  rsync \
37
37
  ssh \
@@ -45,7 +45,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
45
45
  && pecl install memcached \
46
46
  && pecl install oauth-2.0.2 \
47
47
  && pecl install redis-3.1.2 \
48
- && pecl install xdebug \
48
+ && pecl install xdebug-2.9.8 \
49
49
  && docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr \
50
50
  && docker-php-ext-configure imap --with-imap-ssl --with-kerberos \
51
51
  && docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
@@ -5,15 +5,11 @@ FROM php:7.3-apache-bullseye
5
5
  # Install dependencies we need
6
6
  RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
7
  && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
12
- && apt-get update && apt-get install -y \
13
8
  bzip2 \
14
9
  default-mysql-client \
15
10
  exiftool \
16
11
  git-core \
12
+ gnupg2 \
17
13
  imagemagick \
18
14
  libbz2-dev \
19
15
  libc-client-dev \
@@ -31,7 +27,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
31
27
  libzip-dev \
32
28
  libonig-dev \
33
29
  openssl \
34
- postgresql-client-10 \
30
+ postgresql-client-13 \
35
31
  pv \
36
32
  rsync \
37
33
  ssh \
@@ -5,15 +5,11 @@ FROM php:7.3-fpm-bullseye
5
5
  # Install dependencies we need
6
6
  RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
7
  && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
12
- && apt-get update && apt-get install -y \
13
8
  bzip2 \
14
9
  default-mysql-client \
15
10
  exiftool \
16
11
  git-core \
12
+ gnupg2 \
17
13
  imagemagick \
18
14
  libbz2-dev \
19
15
  libc-client-dev \
@@ -31,7 +27,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
31
27
  libzip-dev \
32
28
  libonig-dev \
33
29
  openssl \
34
- postgresql-client-10 \
30
+ postgresql-client-13 \
35
31
  pv \
36
32
  rsync \
37
33
  ssh \
@@ -5,15 +5,11 @@ FROM php:7.4-apache-bullseye
5
5
  # Install dependencies we need
6
6
  RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
7
  && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
12
- && apt-get update && apt-get install -y \
13
8
  bzip2 \
14
9
  default-mysql-client \
15
10
  exiftool \
16
11
  git-core \
12
+ gnupg2 \
17
13
  imagemagick \
18
14
  libbz2-dev \
19
15
  libc-client-dev \
@@ -31,7 +27,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
31
27
  libzip-dev \
32
28
  libonig-dev \
33
29
  openssl \
34
- postgresql-client-10 \
30
+ postgresql-client-13 \
35
31
  pv \
36
32
  rsync \
37
33
  ssh \
@@ -5,15 +5,11 @@ FROM php:7.4-fpm-bullseye
5
5
  # Install dependencies we need
6
6
  RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
7
  && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
12
- && apt-get update && apt-get install -y \
13
8
  bzip2 \
14
9
  default-mysql-client \
15
10
  exiftool \
16
11
  git-core \
12
+ gnupg2 \
17
13
  imagemagick \
18
14
  libbz2-dev \
19
15
  libc-client-dev \
@@ -31,7 +27,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
31
27
  libzip-dev \
32
28
  libonig-dev \
33
29
  openssl \
34
- postgresql-client-10 \
30
+ postgresql-client-13 \
35
31
  pv \
36
32
  rsync \
37
33
  ssh \
@@ -5,15 +5,11 @@ FROM php:8.0-apache-bullseye
5
5
  # Install dependencies we need
6
6
  RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
7
  && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
12
- && apt-get update && apt-get install -y \
13
8
  bzip2 \
14
9
  default-mysql-client \
15
10
  exiftool \
16
11
  git-core \
12
+ gnupg2 \
17
13
  imagemagick \
18
14
  libbz2-dev \
19
15
  libc-client-dev \
@@ -32,7 +28,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
32
28
  libzip-dev \
33
29
  libonig-dev \
34
30
  openssl \
35
- postgresql-client-10 \
31
+ postgresql-client-13 \
36
32
  pv \
37
33
  rsync \
38
34
  ssh \
@@ -5,15 +5,11 @@ FROM php:8.0-fpm-bullseye
5
5
  # Install dependencies we need
6
6
  RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
7
  && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
12
- && apt-get update && apt-get install -y \
13
8
  bzip2 \
14
9
  default-mysql-client \
15
10
  exiftool \
16
11
  git-core \
12
+ gnupg2 \
17
13
  imagemagick \
18
14
  libbz2-dev \
19
15
  libc-client-dev \
@@ -32,7 +28,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
32
28
  libzip-dev \
33
29
  libonig-dev \
34
30
  openssl \
35
- postgresql-client-10 \
31
+ postgresql-client-13 \
36
32
  pv \
37
33
  rsync \
38
34
  ssh \
@@ -5,15 +5,11 @@ FROM php:8.1-apache-bullseye
5
5
  # Install dependencies we need
6
6
  RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
7
7
  && apt -y update && apt-get install -y \
8
- gnupg2 \
9
- wget \
10
- && echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
11
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
12
- && apt-get update && apt-get install -y \
13
8
  bzip2 \
14
9
  default-mysql-client \
15
10
  exiftool \
16
11
  git-core \
12
+ gnupg2 \
17
13
  imagemagick \
18
14
  libbz2-dev \
19
15
  libc-client-dev \
@@ -32,7 +28,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
32
28
  libzip-dev \
33
29
  libonig-dev \
34
30
  openssl \
35
- postgresql-client-10 \
31
+ postgresql-client-13 \
36
32
  pv \
37
33
  rsync \
38
34
  ssh \