fix: switch to official phpmyadmin Docker image#74
Merged
AaronFeledy merged 18 commits intomainfrom Feb 23, 2026
Merged
Conversation
✅ Deploy Preview for lando-phpmyadmin ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This comment has been minimized.
This comment has been minimized.
Member
Author
The official phpmyadmin Docker image only has 5.x tags. Legacy 4.x versions (4.9, 4.8, 4.7, 4.6) are only available on the deprecated phpmyadmin/phpmyadmin image. This change uses the appropriate image based on version to prevent Docker pull failures for legacy versions. Applied via @cursor push command
This comment has been minimized.
This comment has been minimized.
Member
Author
Change version threshold from 5.0.0 to 5.2.0 to ensure versions 5.0 and 5.1 use the deprecated phpmyadmin/phpmyadmin image where these tags exist, since the official phpmyadmin image only supports 5.2.x and higher. Applied via @cursor push command
c9ad934 to
77d01c1
Compare
77d01c1 to
e56a627
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Member
Author
…g it Applied via @cursor push command
Member
Author
|
@cursor Make sure all the github actions runners are up to date, including getting things running on node 20 |
|
I've successfully updated all GitHub Actions workflows to use Node 20 and the latest runner versions: Updated Workflows:
Additional Fix:
All changes have been committed and pushed to the |
- Update all workflow files to use Node 20 instead of Node 18 - Update label-add-to-project.yml to use ubuntu-24.04 instead of ubuntu-latest - Fix trailing spaces lint errors in builders/phpmyadmin.js Co-authored-by: Aaron Feledy <[email protected]>
The leia tests use mariadb and mysql services but these plugins were missing from package.json. CI runs npm install --production which only installs dependencies, so these need to be regular deps (matching the pattern used by @lando/lamp and other plugins).
|
Bugbot Autofix prepared fixes for 1 of the 1 bugs found in the latest run.
Or push these changes by commenting: Preview (4637de3d1b)diff --git a/package.json b/package.json
--- a/package.json
+++ b/package.json
@@ -43,14 +43,14 @@
"test": "npm run lint && npm run test:unit"
},
"dependencies": {
- "@lando/mariadb": "^1.8.0",
- "@lando/mysql": "^1.6.0",
"lodash": "^4.17.21",
"semver": "^7.7.1"
},
"devDependencies": {
"@babel/eslint-parser": "^7.16.0",
"@lando/leia": "^1.0.0-beta.4",
+ "@lando/mariadb": "^1.8.0",
+ "@lando/mysql": "^1.6.0",
"@lando/vitepress-theme-default-plus": "^1.1.1",
"chai": "^4.3.4",
"command-line-test": "^1.0.10", |
- Move @lando/mariadb and @lando/mysql to devDependencies (test-only deps) - Remove --production flag from leia tests CI so devDeps get installed - Fix .lando.yml plugin paths to resolve from repo root node_modules (./../../node_modules/... instead of ./node_modules/...)
The real issue: example dirs have their own package.json + lockfiles. The leia tests run 'npm ci' in each example dir, and the lockfiles had stale @lando/[email protected] (examples/4.x, 5.x) while package.json required ^1.8.0. examples/mysql was missing a lockfile entirely. - Regenerated lockfiles in examples/4.x, 5.x, and mysql - Added missing package-lock.json for examples/mysql - Reverted .lando.yml plugin paths to ./node_modules/ (correct, since npm ci runs in the example dir) - Reverted root package.json and CI workflow (no changes needed there)
- Fix 5.x test: check PMA config file for database hostnames instead of scraping HTML (PMA 5.x doesn't render hostnames in login page HTML) - Add dependabot entries for examples/4.x, 5.x, and mysql directories so their @lando/* deps stay up to date
The config.inc.php reads hostnames from env vars at runtime via PHP - grepping the raw file won't find the hostname strings. Use php -r to require the config and print the resolved server host values.
Consolidate npm directories for examples and group updates.
This was referenced Feb 23, 2026
This was referenced Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Switches from the deprecated
phpmyadmin/phpmyadminDocker image to the officialphpmyadminimage.The deprecated image only has amd64 builds, while the official image includes arm64 — fixing phpmyadmin on Apple Silicon Macs.
Changes
builders/phpmyadmin.js:phpmyadmin/phpmyadmin:${version}→phpmyadmin:${version}docs/index.md+docs/config.md: Updated all Docker Hub links to the official image pageCHANGELOG.md: Added unreleased entryFixes #61
Note
Medium Risk
Changes the runtime Docker image selection for the phpMyAdmin service and expands CI/example coverage; main risk is behavioral differences between images/tags across versions.
Overview
Switches phpMyAdmin service versions 5.x+ to use the official
phpmyadmin:<version>image (keepingphpmyadmin/phpmyadminfor legacy 4.x) to add arm64/Apple Silicon support, and updates docs/changelog links accordingly.Modernizes CI and examples: bumps workflows to Node
20/Ubuntu24.04, adds Dependabot coverage forexamples/*, pins example DB versions, adds newexamples/mysql(plus CI coverage), and updates example plugin dependencies (@lando/mariadb^1.8.0,@lando/mysql^1.6.0).Written by Cursor Bugbot for commit 2444aaa. This will update automatically on new commits. Configure here.