You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CI has been red on every run since stretch was archived: the images build on
dockette/stretch, whose apt sources 404 because Debian stretch is EOL and was
removed from deb.debian.org and security.debian.org.
Rather than pin the dead suite to archive.debian.org, move the whole stack to
current upstream versions.
- Base all images on dockette/debian:bookworm.
- Replace the php/{5.6,5.6-fpm,7.1,7.1-fpm,7.2,7.2-fpm} matrix with
php/8.5 and php/8.5-fpm; sury publishes no PHP 5.6/7.x for bookworm.
- Install Node.js 24.19.0 (latest LTS) from the official nodejs.org tarball;
the nodesource setup_10.x script and its stretch distribution are gone.
Node 18+ also needs glibc 2.28, which stretch cannot provide.
- Drop PHP extensions that no longer exist for PHP 8.x: apc (superseded by
apcu), geoip, mcrypt, imap (unbundled in 8.4), xmlrpc (removed from core in
8.0) and imagick; mongo becomes mongodb.
- Install the Blackfire probe from packages.blackfire.io instead of hardcoded
binary URLs, and drop the stray override that pointed the agent socket at a
public IP instead of BLACKFIRE_AGENT.
- Drop hirak/prestissimo, a Composer 1-only plugin that breaks Composer 2, and
set COMPOSER_HOME so the global bin path stays /root/.composer.
- Rewrite devstack.ini for Xdebug 3 (mode/start_with_request/client_host);
the Xdebug 2 remote_* keys were silently ignored.
- Bump MariaDB 10.1 to 12.3 and PostgreSQL 9.6 to 18, drop the obsolete
compose version key, and rename service php72 to php85 (vhost local.dev7
becomes local.dev8).
- Update actions/checkout to v7 and docker/setup-buildx-action to v4, clearing
the Node 20 deprecation warnings.
- Refresh README and AGENTS.md for the new versions and service names.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QNkYkDFukA7kdCTsnWLrCD
Copy file name to clipboardExpand all lines: AGENTS.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,19 @@
2
2
3
3
## Project
4
4
5
-
Dockette DevStack is a legacy Docker Compose LAMP development stack. It combines Apache, PHP FPM, Node.js, Adminer, MariaDB, optional PostgreSQL, and user data helper containers through `docker-compose.yml` and the `devstack` control script.
5
+
Dockette DevStack is a Docker Compose LAMP development stack. It combines Apache, PHP FPM, Node.js, Adminer, MariaDB, optional PostgreSQL, and user data helper containers through `docker-compose.yml` and the `devstack` control script.
6
6
7
7
## Images
8
8
9
9
- Docker Hub repository: `dockette/devstack`.
10
10
- Local image contexts live in `apache/`, `nodejs/`, and `php/*`.
11
-
- The default compose file references tags such as `dockette/devstack:apache`, `dockette/devstack:php72-fpm`, and `dockette/devstack:nodejs`.
12
-
- Base images and runtime versions are legacy; avoid broad upgrades unless explicitly requested.
11
+
- The default compose file references tags such as `dockette/devstack:apache`, `dockette/devstack:php85-fpm`, and `dockette/devstack:nodejs`.
12
+
- All images build on `dockette/debian:bookworm`. PHP comes from `packages.sury.org`, Node.js from the official `nodejs.org` tarball, and the Blackfire probe from `packages.blackfire.io`.
13
+
- Keep runtimes on current upstream versions; when bumping PHP, update `php/*` directory names, the `PHP_VERSION` env, the FPM `CMD`, the `Makefile` tag, and the compose service name together.
13
14
14
15
## Commands
15
16
16
-
-`make build` builds selected representative local images: Apache, PHP 7.2 FPM, and Node.js.
17
+
-`make build` builds selected representative local images: Apache, PHP 8.5 FPM, and Node.js.
17
18
-`make test` validates `docker-compose.yml` with `docker compose config` and checks `devstack` shell syntax.
18
19
-`make run` starts the compose stack with `docker compose up -d --remove-orphans`.
19
20
@@ -25,7 +26,7 @@ Dockette DevStack is a legacy Docker Compose LAMP development stack. It combines
25
26
26
27
## Guidelines
27
28
28
-
- Preserve the legacy compose UX and documented service names unless the task explicitly asks for migration.
29
+
- Preserve the compose UX and documented service names unless the task explicitly asks for migration.
29
30
- Prefer small CI checks: compose config, shell syntax, and representative image builds.
30
31
- Place `.PHONY` directly above every Makefile target.
31
32
- Keep README badges in the Dockette `copybara` style and do not add Slack or Gitter badges.
@@ -81,17 +79,17 @@ If you didn't change the `DEVSTACK_DOCKER` variable, you should place your `dock
81
79
After you've followed install section, your devstack should be well prepared. One thing left, you should configure your devstack (passwords, folders, etc).
82
80
83
81
You should:
84
-
- setup your [**data homeland**](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L151-L153)
85
-
- setup MySQL [**root password**](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L125-L127)
86
-
- setup PostgreSQL [**root password**](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L144-L146) if you enable PostgreSQL
82
+
- setup your [**data homeland**](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L130-L131)
83
+
- setup MySQL [**root password**](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L104-L105)
84
+
- setup PostgreSQL [**root password**](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L123-L124) if you enable PostgreSQL
87
85
88
86
### Userdirs
89
87
90
88
There are two kind of users inside these containers, **root** (main unix user) and **dfx** (special user with uid 1000 in all `dockette` based images).
91
89
92
-
You can find it in docker-compose.yml [file in section/container](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L155-L166).
90
+
You can find it in docker-compose.yml [file in section/container](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L134-L144).
93
91
94
-
On the containers startup, your `users dir` are attached to `php72` and to `php56`/`nodejs` when you enable those optional containers. You can create your own `.bash_profile`, `.bashrc` files
92
+
On the containers startup, your `users dir` are attached to `php85` and to `nodejs` when you enable that optional container. You can create your own `.bash_profile`, `.bashrc` files
95
93
for easier manipulation inside docker containers.
96
94
97
95
[**TIP**] There used to be a skeleton in ubuntu/debian/mint system.
@@ -156,24 +154,17 @@ By default is devstack available on domains:
156
154
- localhost (php)
157
155
- local.dev (php)
158
156
-www.local.dev (php)
159
-
- local.dev7 (php7)
160
-
-www.local.dev7 (php7)
161
-
162
-
When you enable PHP 5.6, these domains are available too:
163
-
164
-
- local.dev56 (php56)
165
-
-www.local.dev56 (php56)
157
+
- local.dev8 (php8)
158
+
-www.local.dev8 (php8)
166
159
167
160
You should add these lines to your `/etc/hosts` file.
0 commit comments