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 d5367bf
Browse filesBrowse the repository at this point in the historyBrowse files
Run updater containers as the existing non-root user while dropping all Linux capabilities, enabling no-new-privileges, and explicitly selecting Docker's built-in seccomp profile. Reject Docker hosts that do not advertise seccomp support, including correct handling of modern and legacy API security-option formats.
Keep local staging capability-free by assigning the updater UID and GID through moby/go-archive, and run required certificate, repository, and case-insensitive setup commands with checked exit handling. Preserve existing repository configuration, CIFS behavior, internal-only updater networking, proxy credential separation, and main updater exit semantics.
Roll back case-insensitive storage containers and volumes on initialization failures with bounded cleanup and explicit ownership transfer to Updater on success. Cover container requests, minimum Docker API compatibility, setup failures, cleanup paths, archive ownership, and effective runtime controls for normal, local, case-insensitive, and combined flows.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 090f48f7-de21-4eb1-b076-8c5852c16f14
// put the clone dir in the updater container to be used by during the update
466
472
ifparams.LocalDir!="" {
467
473
containerDir:=guestRepoDir
468
474
ifparams.Job.UseCaseInsensitiveFileSystem() {
469
475
// since the updater is using the storage container, we need to populate the repo on that device because that's the directory that will be used for the update
0 commit comments