Fix Renovate S6 tracking, bump S6 to 3.2.3.0, improve layer caching#238
Merged
Conversation
S6 overlay uses 4-part versions (3.2.0.2) which aren't valid semver. Without versioningTemplate: "loose", Renovate uses semver by default for github-releases and silently skips updates it can't parse. Also manually bumps S6_OVERLAY_VERSION to 3.2.3.0 since Renovate hasn't been opening PRs for it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1. Renovate S6 tracking fix (
renovate.json)Add
versioningTemplate: "loose"to the S6 overlay custom manager. S6 uses 4-part version numbers (3.2.0.2,3.2.3.0) which aren't valid semver — withoutlooseversioning, Renovate silently skips updates it can't parse.2. S6 bumped to 3.2.3.0 (
Dockerfile)Manually bumped since Renovate hasn't been opening PRs for it.
3. Dockerfile layer reorder for better cache utilisation
Before:
A S6 bump invalidated the slow
apk add(55 packages) andpip installlayers every time.After:
Now each concern is an independent cacheable layer:
requirements.txtchange → only pip rebuilds (apk + S6 cached)Also adds
--mount=type=cache,id=apk-${TARGETARCH}to the apk step, consistent with the existing pip cache mount.Test plan
3.2.3.0in DockerfileversioningTemplate: "loose"added to S6 custom manager inrenovate.json