Portal app-shell as a busybox target, git without perl, quieter first start
Docs / docs (push) Successful in 28s
Playwright Tests / test-playwright (1, 2) (push) Failing after 4m44s
Playwright Tests / test-playwright (2, 2) (push) Successful in 2m34s
pre-commit / pre-commit (push) Failing after 2m29s
Test Backend / test-backend (3.12) (push) Successful in 4m32s
Test Backend / test-backend (3.14) (push) Successful in 4m15s
Compose Smoke Test / test-compose (push) Successful in 37s
Playwright Tests / merge-reports (push) Successful in 1m33s
Docs / docs (push) Successful in 28s
Playwright Tests / test-playwright (1, 2) (push) Failing after 4m44s
Playwright Tests / test-playwright (2, 2) (push) Successful in 2m34s
pre-commit / pre-commit (push) Failing after 2m29s
Test Backend / test-backend (3.12) (push) Successful in 4m32s
Test Backend / test-backend (3.14) (push) Successful in 4m15s
Compose Smoke Test / test-compose (push) Successful in 37s
Playwright Tests / merge-reports (push) Successful in 1m33s
The portal's copy of the dashboard is the `appshell` target of backend/Dockerfile (18 MB instead of the 252 MB nginx image); the nginx frontend Dockerfile, its confs and csp.check.ts are gone, since the app and the hub both hash the CSP from the index.html they serve. The runtime image copies the 4 MB git binary alone: the store's init, add, commit, gc and rev-parse are builtins, and a build-time round trip fails the build if that ever changes. About 100 MB of perl and helpers less. The bundled Redis's overcommit warning and FastMCP's lifespan warning no longer greet every `docker logs`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,12 +5,17 @@
|
||||
# so without it a restart forgets all three. In the background on purpose: its
|
||||
# appendonly file is written on every change, so the SIGKILL it gets when the
|
||||
# container stops loses nothing that was acknowledged.
|
||||
#
|
||||
# Its memory-overcommit warning is dropped: the setting is the host kernel's,
|
||||
# nothing in a container can change it, and it only matters to a fork for a
|
||||
# snapshot under memory pressure. Every other warning still reaches the log.
|
||||
set -e
|
||||
|
||||
if [ -z "$REDIS_HOST" ]; then
|
||||
mkdir -p /data/redis
|
||||
redis-server --bind 127.0.0.1 --port 6379 --dir /data/redis \
|
||||
--appendonly yes --loglevel warning &
|
||||
--appendonly yes --loglevel warning \
|
||||
| grep --line-buffered -v "Memory overcommit must be enabled" &
|
||||
i=0
|
||||
until redis-cli -h 127.0.0.1 ping >/dev/null 2>&1; do
|
||||
i=$((i + 1))
|
||||
|
||||
Reference in New Issue
Block a user