TryGhost
OSS
Ghost
Sign in / Sign up
Open main menu
Ghost
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
29017
da518321 Improved production image pull time by deduplicating chown layers no ref - on overlayfs a `chown -R` copies every touched file into a new layer, so the core stage's `chown -R nobody:nogroup /home/ghost/*` duplicated node_modules (~600MB) and the full stage's `chown -R core/built/admin` duplicated the admin build (~80MB) — inflating every pull of the ghost / ghost-e2e images, which the 12 E2E shards showed spending most of their setup time loading - set ownership at COPY time (COPY --chown) instead, and move the production node_modules into a discarded `deps` stage copied in once via COPY --chown --from, so app code is stored once with its final ownership - ownership model is unchanged (verified byte-for-byte: app code nobody:nogroup, content/log ghost, home ghost; runtime user still cannot modify app code, and better-sqlite3's native binary still loads after the multi-stage copy) - build-essential/python3 now live only in the deps stage, so the shipped node_modules layer no longer carries apt install/purge churn either
by Austin Bur...
A
Succeeded
29017
dc2b6798 Improved production image pull time by deduplicating chown layers no ref - on overlayfs a `chown -R` copies every touched file into a new layer, so the core stage's `chown -R nobody:nogroup /home/ghost/*` duplicated node_modules (~600MB) and the full stage's `chown -R core/built/admin` duplicated the admin build (~80MB) — inflating every pull of the ghost / ghost-e2e images, which the 12 E2E shards showed spending most of their setup time loading - set ownership at COPY time (COPY --chown) instead, and move the production node_modules into a discarded `deps` stage copied in once via COPY --chown --from, so app code is stored once with its final ownership - ownership model is unchanged (verified byte-for-byte: app code nobody:nogroup, content/log ghost, home ghost; runtime user still cannot modify app code, and better-sqlite3's native binary still loads after the multi-stage copy) - build-essential/python3 now live only in the deps stage, so the shipped node_modules layer no longer carries apt install/purge churn either
by Austin Bur...
A
Previous page
Previous
Next
Next page