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
{{ message }}
Repository navigation
Commit 51788be
Browse filesBrowse the repository at this point in the historyBrowse files
chore(docker): rebuild the apt upgrade layers on every webapp image publish
chore(docker): rebuild the apt upgrade layers on every webapp image
publish
The webapp Dockerfile upgrades OS packages with `apt-get upgrade` in
three stages, but those layers had no changing input, so the build cache
reused them for months and the published image kept known-fixed CVEs. A
new `APT_REFRESH` build arg, set by the publish workflow to the build
timestamp, is referenced ahead of each upgrade so the layers rebuild on
every publish. The layers below them (dependency install, the webapp
build) still cache as before.
Also pins the node base image to its multi-platform index digest instead
of the architecture-oriented one. Same image content, no behaviour
change.
Mono-RevId: 156d96fdb686a73b5a8af56668344a64fdf7e7a6
0 commit comments