Skip to content

fix: pin runlike image by digest and update it automatically - #2906

Merged
enoch85 merged 1 commit into
mainfrom
fix/pin-runlike-image
Nov 25, 2026
Merged

enoch85 merged 1 commit into
mainfrom
fix/pin-runlike-image

Conversation

@szaimen

@szaimen szaimen commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

runlike gets the docker socket and its output is executed as root, yet it was pulled unpinned from Docker Hub on every run. A compromised or broken upload would have run on every server with full root access.

Pin it by digest to 2.0.0. Unlike 1.x it is built for arm64 as well, quotes every value safely and keeps settings that 1.x dropped, such as --shm-size and entrypoint arguments. The output still works with the sed and substitutions in nextcloud_update.sh and the mount scripts.

To keep the pin current, the WireGuard update workflow becomes a general workflow for pinned images, which now also opens a PR when the latest runlike image changes.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

@enoch85

enoch85 commented Nov 25, 2026

Copy link
Copy Markdown
Member

@szaimen feel free to merge anything to not supported. It's yours anyway ;)

@szaimen

szaimen commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator Author

@szaimen feel free to merge anything to not supported. It's yours anyway ;)

Ok

@szaimen

szaimen commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator Author

But this PR also changes other files...

@szaimen

szaimen commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator Author

Btw I dont have merge rights...

@enoch85

enoch85 commented Nov 25, 2026

Copy link
Copy Markdown
Member

But this PR also changes other files...

On mobile, will have a look on desktop later. 👍🏼

runlike gets the docker socket and its output is executed as root, yet
it was pulled unpinned from Docker Hub on every run. A compromised or
broken upload would have run on every server with full root access.

Pin it by digest to 2.0.0. Unlike 1.x it is built for arm64 as well,
quotes every value safely and keeps settings that 1.x dropped, such as
--shm-size and entrypoint arguments. The output still works with the
sed and substitutions in nextcloud_update.sh and the mount scripts.

To keep the pin current, the WireGuard update workflow becomes a
general workflow for pinned images, which now also opens a PR when the
latest runlike image changes.

Assisted-by: ClaudeCode:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
@enoch85

enoch85 commented Nov 25, 2026

Copy link
Copy Markdown
Member

@szaimen You should now be able to push.

@enoch85
enoch85 force-pushed the fix/pin-runlike-image branch from 73f3d8e to 19f6664 Compare November 25, 2026 22:15
@enoch85
enoch85 merged commit 5d494b4 into main Nov 25, 2026
12 checks passed
@enoch85
enoch85 deleted the fix/pin-runlike-image branch November 25, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants