@lando/drupal 1.12.0 → 1.14.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/.eslintignore +5 -0
- package/.lando.yml +1 -2
- package/CHANGELOG.md +26 -0
- package/LICENSE +21 -0
- package/README.md +20 -27
- package/builders/_drupaly.js +44 -19
- package/builders/drupal-mariadb.js +1 -1
- package/builders/drupal-mssql.js +1 -1
- package/builders/drupal-mysql.js +7 -1
- package/builders/drupal-nginx.js +1 -1
- package/builders/drupal-php.js +1 -3
- package/builders/drupal-postgres.js +1 -1
- package/config/drupal11/mysql8.cnf +44 -92
- package/inits/drupal10.js +5 -0
- package/inits/drupal11.js +7 -0
- package/inits/drupal6.js +4 -0
- package/inits/drupal7.js +3 -0
- package/inits/drupal8.js +3 -0
- package/inits/drupal9.js +5 -0
- package/netlify.toml +1 -1
- package/node_modules/@lando/mariadb/.lando.yml +1 -1
- package/node_modules/@lando/mariadb/.node-version +1 -1
- package/node_modules/@lando/mariadb/CHANGELOG.md +12 -1
- package/node_modules/@lando/mariadb/LICENSE +21 -0
- package/node_modules/@lando/mariadb/README.md +5 -2
- package/node_modules/@lando/mariadb/builders/mariadb.js +26 -22
- package/node_modules/@lando/mariadb/netlify.toml +9 -2
- package/node_modules/@lando/mariadb/package.json +8 -8
- package/node_modules/@lando/mysql/.lando.yml +1 -1
- package/node_modules/@lando/mysql/CHANGELOG.md +5 -0
- package/node_modules/@lando/mysql/LICENSE +21 -0
- package/node_modules/@lando/mysql/README.md +5 -2
- package/node_modules/@lando/mysql/builders/mysql.js +9 -5
- package/node_modules/@lando/mysql/netlify.toml +9 -0
- package/node_modules/@lando/mysql/package.json +8 -8
- package/node_modules/@lando/php/.lando.yml +1 -1
- package/node_modules/@lando/php/AGENTS.md +81 -0
- package/node_modules/@lando/php/CHANGELOG.md +31 -0
- package/node_modules/@lando/php/LICENSE +21 -0
- package/node_modules/@lando/php/README.md +9 -3
- package/node_modules/@lando/php/builders/php.js +39 -12
- package/node_modules/@lando/php/images/5.6-apache/Dockerfile +9 -4
- package/node_modules/@lando/php/images/5.6-fpm/Dockerfile +9 -4
- package/node_modules/@lando/php/images/7.0-apache/Dockerfile +9 -4
- package/node_modules/@lando/php/images/7.0-fpm/Dockerfile +9 -4
- package/node_modules/@lando/php/images/7.1-apache/Dockerfile +1 -1
- package/node_modules/@lando/php/images/7.1-fpm/Dockerfile +1 -1
- package/node_modules/@lando/php/images/7.2-apache/Dockerfile +1 -1
- package/node_modules/@lando/php/images/7.2-fpm/Dockerfile +1 -1
- package/node_modules/@lando/php/images/7.3-apache/Dockerfile +1 -1
- package/node_modules/@lando/php/images/7.3-fpm/Dockerfile +1 -1
- package/node_modules/@lando/php/images/7.4-apache/Dockerfile +2 -2
- package/node_modules/@lando/php/images/7.4-fpm/Dockerfile +2 -2
- package/node_modules/@lando/php/images/8.0-apache/Dockerfile +2 -2
- package/node_modules/@lando/php/images/8.0-fpm/Dockerfile +2 -2
- package/node_modules/@lando/php/images/8.1-apache/Dockerfile +1 -1
- package/node_modules/@lando/php/images/8.1-fpm/Dockerfile +1 -1
- package/node_modules/@lando/php/images/8.2-apache/Dockerfile +1 -1
- package/node_modules/@lando/php/images/8.2-fpm/Dockerfile +1 -1
- package/node_modules/@lando/php/images/8.3-apache/Dockerfile +23 -22
- package/node_modules/@lando/php/images/8.3-fpm/Dockerfile +22 -22
- package/node_modules/@lando/php/images/8.4-apache/Dockerfile +21 -22
- package/node_modules/@lando/php/images/8.4-fpm/Dockerfile +21 -22
- package/node_modules/@lando/php/images/8.5-apache/Dockerfile +77 -0
- package/node_modules/@lando/php/images/8.5-fpm/Dockerfile +78 -0
- package/node_modules/@lando/php/netlify.toml +10 -1
- package/node_modules/@lando/php/node_modules/@lando/nginx/.lando.yml +1 -1
- package/node_modules/@lando/php/node_modules/@lando/nginx/.node-version +1 -1
- package/node_modules/@lando/php/node_modules/@lando/nginx/CHANGELOG.md +9 -1
- package/node_modules/@lando/php/node_modules/@lando/nginx/LICENSE +21 -0
- package/node_modules/@lando/php/node_modules/@lando/nginx/README.md +5 -2
- package/node_modules/@lando/php/node_modules/@lando/nginx/builders/nginx.js +34 -15
- package/node_modules/@lando/php/node_modules/@lando/nginx/netlify.toml +9 -4
- package/node_modules/@lando/php/node_modules/@lando/nginx/package.json +8 -8
- package/node_modules/@lando/php/package.json +10 -10
- package/node_modules/@lando/php/scripts/install-db-client.sh +31 -0
- package/node_modules/@lando/php/scripts/mariadb-compat-install.sh +42 -0
- package/node_modules/@lando/php/scripts/mysql-client-install.sh +62 -0
- package/node_modules/@lando/postgres/.lando.yml +1 -1
- package/node_modules/@lando/postgres/CHANGELOG.md +15 -0
- package/node_modules/@lando/postgres/LICENSE +21 -0
- package/node_modules/@lando/postgres/README.md +5 -2
- package/node_modules/@lando/postgres/builders/postgres.js +11 -10
- package/node_modules/@lando/postgres/netlify.toml +9 -4
- package/node_modules/@lando/postgres/package.json +8 -8
- package/node_modules/semver/README.md +14 -4
- package/node_modules/semver/bin/semver.js +4 -1
- package/node_modules/semver/classes/comparator.js +2 -0
- package/node_modules/semver/classes/index.js +2 -0
- package/node_modules/semver/classes/range.js +2 -0
- package/node_modules/semver/classes/semver.js +22 -5
- package/node_modules/semver/functions/clean.js +2 -0
- package/node_modules/semver/functions/cmp.js +2 -0
- package/node_modules/semver/functions/coerce.js +2 -0
- package/node_modules/semver/functions/compare-build.js +2 -0
- package/node_modules/semver/functions/compare-loose.js +2 -0
- package/node_modules/semver/functions/compare.js +2 -0
- package/node_modules/semver/functions/diff.js +7 -12
- package/node_modules/semver/functions/eq.js +2 -0
- package/node_modules/semver/functions/gt.js +2 -0
- package/node_modules/semver/functions/gte.js +2 -0
- package/node_modules/semver/functions/inc.js +2 -0
- package/node_modules/semver/functions/lt.js +2 -0
- package/node_modules/semver/functions/lte.js +2 -0
- package/node_modules/semver/functions/major.js +2 -0
- package/node_modules/semver/functions/minor.js +2 -0
- package/node_modules/semver/functions/neq.js +2 -0
- package/node_modules/semver/functions/parse.js +2 -0
- package/node_modules/semver/functions/patch.js +2 -0
- package/node_modules/semver/functions/prerelease.js +2 -0
- package/node_modules/semver/functions/rcompare.js +2 -0
- package/node_modules/semver/functions/rsort.js +2 -0
- package/node_modules/semver/functions/satisfies.js +2 -0
- package/node_modules/semver/functions/sort.js +2 -0
- package/node_modules/semver/functions/valid.js +2 -0
- package/node_modules/semver/index.js +2 -0
- package/node_modules/semver/internal/constants.js +2 -0
- package/node_modules/semver/internal/debug.js +2 -0
- package/node_modules/semver/internal/identifiers.js +2 -0
- package/node_modules/semver/internal/lrucache.js +2 -0
- package/node_modules/semver/internal/parse-options.js +2 -0
- package/node_modules/semver/internal/re.js +10 -4
- package/node_modules/semver/package.json +8 -7
- package/node_modules/semver/preload.js +2 -0
- package/node_modules/semver/ranges/gtr.js +2 -0
- package/node_modules/semver/ranges/intersects.js +2 -0
- package/node_modules/semver/ranges/ltr.js +2 -0
- package/node_modules/semver/ranges/max-satisfying.js +2 -0
- package/node_modules/semver/ranges/min-satisfying.js +2 -0
- package/node_modules/semver/ranges/min-version.js +2 -0
- package/node_modules/semver/ranges/outside.js +2 -0
- package/node_modules/semver/ranges/simplify.js +2 -0
- package/node_modules/semver/ranges/subset.js +2 -0
- package/node_modules/semver/ranges/to-comparators.js +2 -0
- package/node_modules/semver/ranges/valid.js +2 -0
- package/package.json +13 -13
- package/LICENSE.md +0 -674
- package/PRIVACY.md +0 -169
- package/node_modules/@lando/mariadb/LICENSE.md +0 -674
- package/node_modules/@lando/mariadb/PRIVACY.md +0 -169
- package/node_modules/@lando/mariadb/tmpfile +0 -0
- package/node_modules/@lando/mysql/.tool-versions +0 -1
- package/node_modules/@lando/mysql/LICENSE.md +0 -674
- package/node_modules/@lando/mysql/PRIVACY.md +0 -169
- package/node_modules/@lando/php/LICENSE.md +0 -674
- package/node_modules/@lando/php/PRIVACY.md +0 -169
- package/node_modules/@lando/php/node_modules/@lando/nginx/LICENSE.md +0 -674
- package/node_modules/@lando/php/node_modules/@lando/nginx/PRIVACY.md +0 -169
- package/node_modules/@lando/postgres/LICENSE.md +0 -674
- package/node_modules/@lando/postgres/PRIVACY.md +0 -169
|
@@ -49,5 +49,8 @@ Made with [contributors-img](https://contrib.rocks).
|
|
|
49
49
|
|
|
50
50
|
## Other Selected Resources
|
|
51
51
|
|
|
52
|
-
* [LICENSE](
|
|
53
|
-
* [
|
|
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
|
+
|
|
@@ -9,28 +9,32 @@ module.exports = {
|
|
|
9
9
|
name: 'mariadb',
|
|
10
10
|
config: {
|
|
11
11
|
version: '10.3',
|
|
12
|
-
supported: ['11.
|
|
13
|
-
'
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
supported: ['11.8', '11.7', '11.6', '11.5', '11.4', '11.3', '11.2',
|
|
13
|
+
'11.1', '11.0', '10.11', '10.10', '10.9', '10.8', '10.7', '10.6',
|
|
14
|
+
'10.5', '10.4', '10.3', '10.2', '10.1'],
|
|
15
|
+
legacy: ['11.7', '11.6', '11.5', '11.3', '11.2', '11.1', '11.0',
|
|
16
|
+
'10.10', '10.9', '10.8', '10.7', '10.4', '10.3', '10.2', '10.1'],
|
|
16
17
|
pinPairs: {
|
|
17
|
-
'11.
|
|
18
|
-
'11.
|
|
19
|
-
'11.
|
|
20
|
-
'11.
|
|
21
|
-
'11.
|
|
22
|
-
'11.
|
|
23
|
-
'
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'10.
|
|
27
|
-
'10.
|
|
28
|
-
'10.
|
|
29
|
-
'10.
|
|
30
|
-
'10.
|
|
31
|
-
'10.
|
|
32
|
-
'10.
|
|
33
|
-
'10.
|
|
18
|
+
'11.8': 'bitnamilegacy/mariadb:11.8.3-debian-12-r0',
|
|
19
|
+
'11.7': 'bitnamilegacy/mariadb:11.7.2-debian-12-r0',
|
|
20
|
+
'11.6': 'bitnamilegacy/mariadb:11.6.2-debian-12-r0',
|
|
21
|
+
'11.5': 'bitnamilegacy/mariadb:11.5.2-debian-12-r7',
|
|
22
|
+
'11.4': 'bitnamilegacy/mariadb:11.4.7-debian-12-r2',
|
|
23
|
+
'11.3': 'bitnamilegacy/mariadb:11.3.2-debian-12-r9',
|
|
24
|
+
'11.2': 'bitnamilegacy/mariadb:11.2.6-debian-12-r2',
|
|
25
|
+
'11.1': 'bitnamilegacy/mariadb:11.1.6-debian-12-r0',
|
|
26
|
+
'11.0': 'bitnamilegacy/mariadb:11.0.6-debian-12-r0',
|
|
27
|
+
'10.11': 'bitnamilegacy/mariadb:10.11.11-debian-12-r11',
|
|
28
|
+
'10.10': 'bitnamilegacy/mariadb:10.10.7-debian-11-r6',
|
|
29
|
+
'10.9': 'bitnamilegacy/mariadb:10.9.8-debian-11-r22',
|
|
30
|
+
'10.8': 'bitnamilegacy/mariadb:10.8.8-debian-11-r5',
|
|
31
|
+
'10.7': 'bitnamilegacy/mariadb:10.7.8-debian-11-r6',
|
|
32
|
+
'10.6': 'bitnamilegacy/mariadb:10.6.20-debian-12-r2',
|
|
33
|
+
'10.5': 'bitnamilegacy/mariadb:10.5.27-debian-12-r2',
|
|
34
|
+
'10.4': 'bitnamilegacy/mariadb:10.4.34-debian-12-r7',
|
|
35
|
+
'10.3': 'bitnamilegacy/mariadb:10.3.39-debian-11-r5',
|
|
36
|
+
'10.2': 'bitnamilegacy/mariadb:10.2.44-debian-11-r9',
|
|
37
|
+
'10.1': 'bitnamilegacy/mariadb:10.1.47',
|
|
34
38
|
},
|
|
35
39
|
patchesSupported: true,
|
|
36
40
|
confSrc: path.resolve(__dirname, '..', 'config'),
|
|
@@ -59,7 +63,7 @@ module.exports = {
|
|
|
59
63
|
if (!options.healthcheck) options.healthcheck = require('../utils/get-default-healthcheck')(options);
|
|
60
64
|
|
|
61
65
|
const mariadb = {
|
|
62
|
-
image: `
|
|
66
|
+
image: `bitnamilegacy/mariadb:${options.version}`,
|
|
63
67
|
command: '/launch.sh',
|
|
64
68
|
environment: {
|
|
65
69
|
ALLOW_EMPTY_PASSWORD: 'yes',
|
|
@@ -41,9 +41,16 @@
|
|
|
41
41
|
[plugins.inputs.audits]
|
|
42
42
|
output_path = "reports/lighthouse.html"
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
44
|
# We need this so preview environments and the base site look ok on their own
|
|
45
|
+
[[redirects]]
|
|
46
|
+
from = "https://lando-mariadb.netlify.app"
|
|
47
|
+
to = "https://lando-mariadb.netlify.app/plugins/mariadb/index.html"
|
|
48
|
+
status = 301
|
|
49
|
+
force = true
|
|
50
|
+
[[redirects]]
|
|
51
|
+
from = "https://lando-mariadb.netlify.app/*"
|
|
52
|
+
to = "https://docs.lando.dev/:splat"
|
|
53
|
+
status = 301
|
|
47
54
|
[[redirects]]
|
|
48
55
|
from = "/"
|
|
49
56
|
to = "/plugins/mariadb"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/mariadb",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with mariadb.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.8.0",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "MIT",
|
|
7
7
|
"repository": "lando/mariadb",
|
|
8
8
|
"bugs": "https://github.com/lando/mariadb/issues/new/choose",
|
|
9
9
|
"homepage": "https://github.com/lando/mariadb",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"mariadb"
|
|
15
15
|
],
|
|
16
16
|
"engines": {
|
|
17
|
-
"node": ">=
|
|
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.
|
|
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-
|
|
66
|
-
"shasum": "
|
|
67
|
-
"filename": "lando-mariadb-1.
|
|
68
|
-
"unpackedSize":
|
|
65
|
+
"integrity": "sha512-PmnBqSulIxzB3/RfG4quKqBVdCyy9gw0DNBhz9sDiGjf3Pm2N5+QEEko+zNzhlLNy0C4nbfeQy3pCEyw1otclg==",
|
|
66
|
+
"shasum": "2ba1368e8c58386f966e631f88b7a1c335217080",
|
|
67
|
+
"filename": "lando-mariadb-1.8.0.tgz",
|
|
68
|
+
"unpackedSize": 1429885
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
|
|
2
2
|
|
|
3
|
+
## v1.6.0 - [August 31, 2025](https://github.com/lando/mysql/releases/tag/v1.6.0)
|
|
4
|
+
|
|
5
|
+
* Switched images to [bitnamilegacy](https://github.com/bitnami/containers/issues/83267) namespace
|
|
6
|
+
* Updated `mysql:8.4` to `8.4.3`
|
|
7
|
+
|
|
3
8
|
## v1.5.0 - [January 6, 2025](https://github.com/lando/mysql/releases/tag/v1.5.0)
|
|
4
9
|
|
|
5
10
|
* Added support for MySQL 8.4
|
|
@@ -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](
|
|
53
|
-
* [
|
|
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
|
+
|
|
@@ -9,11 +9,15 @@ module.exports = {
|
|
|
9
9
|
name: 'mysql',
|
|
10
10
|
config: {
|
|
11
11
|
version: '5.7',
|
|
12
|
-
supported: ['8.4', '8.0', '5.7'],
|
|
12
|
+
supported: ['8', '8.4', '8.3', '8.2', '8.1', '8.0', '5.7'],
|
|
13
13
|
pinPairs: {
|
|
14
|
-
'8
|
|
15
|
-
'8.
|
|
16
|
-
'
|
|
14
|
+
'8': 'bitnamilegacy/mysql:8.4.5-debian-12-r0',
|
|
15
|
+
'8.4': 'bitnamilegacy/mysql:8.4.5-debian-12-r0',
|
|
16
|
+
'8.3': 'bitnamilegacy/mysql:8.3.0-debian-12-r9',
|
|
17
|
+
'8.2': 'bitnamilegacy/mysql:8.2.0-debian-11-r8',
|
|
18
|
+
'8.1': 'bitnamilegacy/mysql:8.1.0-debian-11-r57',
|
|
19
|
+
'8.0': 'bitnamilegacy/mysql:8.0.40-debian-12-r5',
|
|
20
|
+
'5.7': 'bitnamilegacy/mysql:5.7.43-debian-11-r73',
|
|
17
21
|
},
|
|
18
22
|
patchesSupported: true,
|
|
19
23
|
confSrc: path.resolve(__dirname, '..', 'config'),
|
|
@@ -47,7 +51,7 @@ module.exports = {
|
|
|
47
51
|
|
|
48
52
|
// Build the default stuff here
|
|
49
53
|
const mysql = {
|
|
50
|
-
image: `
|
|
54
|
+
image: `bitnamilegacy/mysql:${options.version}`,
|
|
51
55
|
command: '/launch.sh',
|
|
52
56
|
environment: {
|
|
53
57
|
ALLOW_EMPTY_PASSWORD: 'yes',
|
|
@@ -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-mysql.netlify.app"
|
|
45
|
+
to = "https://lando-mysql.netlify.app/plugins/mysql/index.html"
|
|
46
|
+
status = 301
|
|
47
|
+
force = true
|
|
48
|
+
[[redirects]]
|
|
49
|
+
from = "https://lando-mysql.netlify.app/*"
|
|
50
|
+
to = "https://docs.lando.dev/:splat"
|
|
51
|
+
status = 301
|
|
43
52
|
[[redirects]]
|
|
44
53
|
from = "/"
|
|
45
54
|
to = "/plugins/mysql"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/mysql",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with MySQL.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.6.0",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "MIT",
|
|
7
7
|
"repository": "lando/mysql",
|
|
8
8
|
"bugs": "https://github.com/lando/mysql/issues/new/choose",
|
|
9
9
|
"homepage": "https://github.com/lando/mysql",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"mysql"
|
|
15
15
|
],
|
|
16
16
|
"engines": {
|
|
17
|
-
"node": ">=
|
|
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.
|
|
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-
|
|
66
|
-
"shasum": "
|
|
67
|
-
"filename": "lando-mysql-1.
|
|
68
|
-
"unpackedSize":
|
|
65
|
+
"integrity": "sha512-cuoAwfjGpcrsLcunOAi697Ot9NgKUy/EcHDwgB9PUwdMo+EPk+7K+WdBRUXyg4p/CcwdfT+qdkFPw0jJhjsFKQ==",
|
|
66
|
+
"shasum": "e026302a27da04338208d1bca579c4dc9b15f123",
|
|
67
|
+
"filename": "lando-mysql-1.6.0.tgz",
|
|
68
|
+
"unpackedSize": 1428568
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# PROJECT KNOWLEDGE BASE
|
|
2
|
+
|
|
3
|
+
**Generated:** 2026-01-09
|
|
4
|
+
**Commit:** 355c304
|
|
5
|
+
**Branch:** main
|
|
6
|
+
|
|
7
|
+
## OVERVIEW
|
|
8
|
+
|
|
9
|
+
Lando PHP plugin - provides PHP services (5.3-8.5) via nginx/apache/cli with composer, xdebug support. Part of @lando ecosystem.
|
|
10
|
+
|
|
11
|
+
## STRUCTURE
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
lando--php/
|
|
15
|
+
├── builders/ # Service builders (php.js = main logic)
|
|
16
|
+
├── config/ # PHP/nginx config templates
|
|
17
|
+
├── utils/ # Helper functions
|
|
18
|
+
├── examples/ # Version-specific test fixtures (php-*)
|
|
19
|
+
├── test/ # Unit tests (placeholder)
|
|
20
|
+
├── docs/ # Project documentation markdown files and associated Vitepress site
|
|
21
|
+
├── scripts/ # Helper scripts for build/install/etc
|
|
22
|
+
└── images/ # Docker image definitions for various PHP versions
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## WHERE TO LOOK
|
|
26
|
+
|
|
27
|
+
| Task | Location | Notes |
|
|
28
|
+
|------|----------|-------|
|
|
29
|
+
| PHP version logic | `builders/php.js` | LandoPhp class, version detection |
|
|
30
|
+
| Nginx wrapper | `builders/php-nginx.js` | Extends @lando/nginx |
|
|
31
|
+
| Composer install | `builders/php.js:getDefaultComposerVersion()` | Version auto-detection |
|
|
32
|
+
| Xdebug config | `builders/php.js:xdebugConfig()` | Per-version handling |
|
|
33
|
+
| PHP config templates | `config/*.conf.tpl` | EJS templates |
|
|
34
|
+
| Add CLI/build steps | `utils/add-build-step.js` | Front/back insertion |
|
|
35
|
+
| Install command gen | `utils/get-install-commands.js` | Package manager abstraction |
|
|
36
|
+
|
|
37
|
+
## CODE MAP
|
|
38
|
+
|
|
39
|
+
| Symbol | Type | Location | Role |
|
|
40
|
+
|--------|------|----------|------|
|
|
41
|
+
| `LandoPhp` | class | builders/php.js:18 | Main service builder |
|
|
42
|
+
| `getDefaultComposerVersion` | fn | builders/php.js | Composer version detection |
|
|
43
|
+
| `nginxConfig` | fn | builders/php.js | Nginx service config |
|
|
44
|
+
| `xdebugConfig` | fn | builders/php.js | Xdebug version handling |
|
|
45
|
+
| `parseApache/Cli/Nginx` | fns | builders/php.js | Via-specific parsing |
|
|
46
|
+
| `addBuildStep` | fn | utils/add-build-step.js | Build step insertion |
|
|
47
|
+
| `getInstallCommands` | fn | utils/get-install-commands.js | Install command gen |
|
|
48
|
+
| `cloneOverrides` | fn | utils/clone-overrides.js | Deep clone sans image/build |
|
|
49
|
+
|
|
50
|
+
## CONVENTIONS
|
|
51
|
+
|
|
52
|
+
- **ESLint**: Google style, max-len 140, JSDoc required for functions
|
|
53
|
+
- **Images**: `devwithlando/php:{version}-{via}` format
|
|
54
|
+
- **Versions**: Supported 5.3-8.5, legacy removed at 8.x
|
|
55
|
+
- **Via options**: apache (default), nginx, cli
|
|
56
|
+
- **Composer**: v1 for PHP <7.2, v2 otherwise
|
|
57
|
+
|
|
58
|
+
## ANTI-PATTERNS
|
|
59
|
+
|
|
60
|
+
- Don't modify `index.js` - intentionally empty placeholder
|
|
61
|
+
- Don't add dependencies without checking @lando/nginx compatibility
|
|
62
|
+
- examples/* are test fixtures - structured identically per version
|
|
63
|
+
|
|
64
|
+
## COMMANDS
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
# Development
|
|
68
|
+
npm run lint # ESLint check
|
|
69
|
+
npm run test:unit # Mocha unit tests
|
|
70
|
+
npm run test:leia # Leia integration tests
|
|
71
|
+
|
|
72
|
+
# Coverage
|
|
73
|
+
nyc covers: lib/, recipes/, services/, types/
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## NOTES
|
|
77
|
+
|
|
78
|
+
- `plugin.yml` has `legacy: true` for Lando v3 compatibility
|
|
79
|
+
- Root `.lando.yml` is for docs site (vitepress), not plugin testing
|
|
80
|
+
- Test file `test/auth.spec.js` is placeholder ("should have tests")
|
|
81
|
+
- PHP config uses EJS templates (`.conf.tpl` extension)
|
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
|
|
2
2
|
|
|
3
|
+
## v1.11.0 - [February 19, 2026](https://github.com/lando/php/releases/tag/v1.11.0)
|
|
4
|
+
|
|
5
|
+
* Fixed database client auto-detection for recipe-based services [#223](https://github.com/lando/php/pull/223)
|
|
6
|
+
|
|
7
|
+
## v1.10.0 - [February 18, 2026](https://github.com/lando/php/releases/tag/v1.10.0)
|
|
8
|
+
|
|
9
|
+
* Added database client auto-detection and version matching [#212](https://github.com/lando/php/pull/212)
|
|
10
|
+
* Added Docker image build status badge to README
|
|
11
|
+
* Added GD AVIF support verification for PHP 8.3+ [#219](https://github.com/lando/php/pull/219)
|
|
12
|
+
* Fixed composer install ordering to run before user build steps
|
|
13
|
+
* Fixed MariaDB wrapper script command names and test auto-detection [#212](https://github.com/lando/php/pull/212)
|
|
14
|
+
* Fixed typo in documentation
|
|
15
|
+
* Updated Docker image base version to Debian 13
|
|
16
|
+
* Updated Docker image tags from -6 to -7
|
|
17
|
+
* Updated Node.js 14.x to 20.x in test examples [#215](https://github.com/lando/php/pull/215)
|
|
18
|
+
* Updated `actions/cache` from 4 to 5
|
|
19
|
+
* Updated `actions/checkout` from 4 to 6
|
|
20
|
+
|
|
21
|
+
## v1.9.0 - [December 5, 2025](https://github.com/lando/php/releases/tag/v1.9.0)
|
|
22
|
+
|
|
23
|
+
* Added support for PHP 8.5
|
|
24
|
+
* Added Debian 13 (trixie) base images for PHP 8.3-8.5
|
|
25
|
+
* Changed PHP 7.4 and 8.0 images to use MariaDB `archive.mariadb.org` apt repository
|
|
26
|
+
* Fixed expired keys preventing stretch-based images from building
|
|
27
|
+
|
|
28
|
+
## v1.8.0 - [September 2, 2025](https://github.com/lando/php/releases/tag/v1.8.0)
|
|
29
|
+
|
|
30
|
+
* Removed automatic installation of `hirak/prestissimo` for `composer:1`
|
|
31
|
+
* Switched images to [bitnamilegacy](https://github.com/bitnami/containers/issues/83267) namespace
|
|
32
|
+
* Updated to [@lando/nginx@1.5.0](https://github.com/lando/nginx/releases/tag/v1.5.0)
|
|
33
|
+
|
|
3
34
|
## v1.7.1 - [January 15, 2025](https://github.com/lando/php/releases/tag/v1.7.1)
|
|
4
35
|
|
|
5
36
|
* Improved the `php` service builder to mount a unique scripts directory per service to prevent version conflicts.
|
|
@@ -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.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# PHP Lando Plugin
|
|
2
2
|
|
|
3
|
+
[](https://github.com/lando/php/actions/workflows/build-php-images.yml)
|
|
4
|
+
|
|
3
5
|
This is the _official_ [Lando](https://lando.dev) plugin for [PHP](https://php.net). When installed it...
|
|
4
6
|
|
|
5
7
|
* Allows users to run various `php` versions
|
|
@@ -16,7 +18,7 @@ Add a `php` service to your Landofile
|
|
|
16
18
|
```yaml
|
|
17
19
|
services:
|
|
18
20
|
myservice:
|
|
19
|
-
type: php:8.
|
|
21
|
+
type: php:8.5
|
|
20
22
|
via: nginx
|
|
21
23
|
webroot: www
|
|
22
24
|
```
|
|
@@ -43,6 +45,7 @@ We try to log all changes big and small in both [THE CHANGELOG](https://github.c
|
|
|
43
45
|
|
|
44
46
|
* [@pirog](https://github.com/pirog)
|
|
45
47
|
* [@reynoldsalec](https://github.com/reynoldsalec)
|
|
48
|
+
* [@aaronfeledy](https://github.com/AaronFeledy)
|
|
46
49
|
|
|
47
50
|
## Contributors
|
|
48
51
|
|
|
@@ -54,5 +57,8 @@ Made with [contributors-img](https://contrib.rocks).
|
|
|
54
57
|
|
|
55
58
|
## Other Selected Resources
|
|
56
59
|
|
|
57
|
-
* [LICENSE](
|
|
58
|
-
* [
|
|
60
|
+
* [LICENSE](/LICENSE)
|
|
61
|
+
* [TERMS OF USE](https://docs.lando.dev/terms)
|
|
62
|
+
* [PRIVACY POLICY](https://docs.lando.dev/privacy)
|
|
63
|
+
* [CODE OF CONDUCT](https://docs.lando.dev/coc)
|
|
64
|
+
|
|
@@ -58,6 +58,34 @@ const xdebugConfig = host => ([
|
|
|
58
58
|
`remote_host=${host}`,
|
|
59
59
|
].join(' '));
|
|
60
60
|
|
|
61
|
+
const detectDatabaseClient = (options, debug = () => {}) => {
|
|
62
|
+
if (options.db_client === false) return null;
|
|
63
|
+
if (options.db_client && options.db_client !== 'auto') return options.db_client;
|
|
64
|
+
|
|
65
|
+
const services = options._app?.config?.services || {};
|
|
66
|
+
let mysqlVersion = null;
|
|
67
|
+
let mariaVersion = null;
|
|
68
|
+
|
|
69
|
+
for (const service of Object.values(services)) {
|
|
70
|
+
const type = service?.type || '';
|
|
71
|
+
// Match mysql:X or recipe-mysql:X (e.g., backdrop-mysql:8.0, drupal-mysql:8.4)
|
|
72
|
+
const mysqlMatch = type.match(/(?:^|-)mysql:(\d+(?:\.\d+)?)/);
|
|
73
|
+
if (mysqlMatch && !mysqlVersion) mysqlVersion = mysqlMatch[1];
|
|
74
|
+
// Match mariadb:X or recipe-mariadb:X (e.g., backdrop-mariadb:10.6, drupal-mariadb:11.4)
|
|
75
|
+
const mariaMatch = type.match(/(?:^|-)mariadb:(\d+(?:\.\d+)?)/);
|
|
76
|
+
if (mariaMatch && !mariaVersion) mariaVersion = mariaMatch[1];
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (mariaVersion && mysqlVersion) {
|
|
80
|
+
debug('Both MariaDB (%s) and MySQL (%s) detected; using MariaDB. Set db_client to override.',
|
|
81
|
+
mariaVersion, mysqlVersion);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (mariaVersion) return `mariadb:${mariaVersion}`;
|
|
85
|
+
if (mysqlVersion) return `mysql:${mysqlVersion}`;
|
|
86
|
+
return null;
|
|
87
|
+
};
|
|
88
|
+
|
|
61
89
|
/**
|
|
62
90
|
* Helper function to build a package string by combining package name and version
|
|
63
91
|
*
|
|
@@ -126,7 +154,7 @@ module.exports = {
|
|
|
126
154
|
name: 'php',
|
|
127
155
|
config: {
|
|
128
156
|
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'],
|
|
157
|
+
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
158
|
legacy: ['7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
131
159
|
gen2: ['5.5', '5.4', '5.3'],
|
|
132
160
|
path: [
|
|
@@ -163,8 +191,9 @@ module.exports = {
|
|
|
163
191
|
},
|
|
164
192
|
scriptsDir: path.resolve(__dirname, '..', 'scripts'),
|
|
165
193
|
sources: [],
|
|
166
|
-
suffix: '
|
|
194
|
+
suffix: '7',
|
|
167
195
|
ssl: false,
|
|
196
|
+
db_client: 'auto',
|
|
168
197
|
via: 'apache',
|
|
169
198
|
volumes: ['/usr/local/bin'],
|
|
170
199
|
webroot: '.',
|
|
@@ -218,13 +247,6 @@ module.exports = {
|
|
|
218
247
|
} else if (typeof options.composer_version === 'number') {
|
|
219
248
|
options.composer_version = options.composer_version.toString();
|
|
220
249
|
}
|
|
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
250
|
|
|
229
251
|
// Add build step to enable xdebug
|
|
230
252
|
if (options.xdebug) {
|
|
@@ -238,12 +260,17 @@ module.exports = {
|
|
|
238
260
|
addBuildStep(commands, options._app, options.name, 'build_internal');
|
|
239
261
|
}
|
|
240
262
|
|
|
241
|
-
// Install the desired composer version as
|
|
263
|
+
// Install the desired composer version as a `build_as_root_internal` step so it runs
|
|
264
|
+
// before user build steps — prevents composer from being missing if build_as_root fails
|
|
242
265
|
if (options.composer_version) {
|
|
243
266
|
debug('Installing composer version %s', options.composer_version);
|
|
244
267
|
const commands = [`/etc/lando/service/helpers/install-composer.sh ${options.composer_version}`];
|
|
245
|
-
|
|
246
|
-
|
|
268
|
+
addBuildStep(commands, options._app, options.name, 'build_as_root_internal');
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
const dbClient = detectDatabaseClient(options, debug);
|
|
272
|
+
if (dbClient && phpSemver && semver.gte(phpSemver, '8.3.0')) {
|
|
273
|
+
addBuildStep([`/etc/lando/service/helpers/install-db-client.sh ${dbClient}`], options._app, options.name, 'build_as_root_internal');
|
|
247
274
|
}
|
|
248
275
|
|
|
249
276
|
// Add in nginx if we need to
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
# docker build -t devwithlando/php:5.6-apache-
|
|
1
|
+
# docker build -t devwithlando/php:5.6-apache-7 .
|
|
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-7 .
|
|
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-7 .
|
|
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 \
|