Repository navigation
Conversation
Two services follow a floating tag: - healthcheck: ethereumoptimism/replica-healthcheck:latest - prometheus: prom/prometheus:latest A floating tag means the image can change under an operator's feet with no repo change and no way to roll back by commit. For the healthcheck that risk is purely downside: the image was last published 2023-07-20, so :latest has been frozen on 1.2.6 for over three years - pinning just makes that explicit. For Prometheus, :latest currently resolves to v3.16.0; pinning keeps the current behaviour while making it reproducible. The IMAGE_TAG__HEALTHCHECK / IMAGE_TAG__PROMETHEUS overrides in .env.example keep working, so anyone who wants a different tag can still set it.
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.
What
Both keep their
IMAGE_TAG__*override, so nothing is locked in for users who set a tag.Why
Everything else in the stack is versioned (
op-reth:v2.6.0,op-node:v1.19.8, and Grafana is pinned in #101), but these two sidecars follow:latest. A floating tag means the container can change without any commit — no changelog, no way to bisect a monitoring regression, and a freshdocker compose pullis not reproducible.ethereumoptimism/replica-healthcheckwas last published 2023-07-20, so:latesthas been frozen on1.2.6for over three years. There is no upside to tracking a tag that never moves; pinning simply documents what everyone is already running.:latestcurrently resolves to v3.16.0 (checked on Docker Hub). Pinning keeps today's behaviour and makes it explicit.Verification
docker-compose.ymlparses; the resulting images areethereumoptimism/replica-healthcheck:1.2.6andprom/prometheus:v3.16.0IMAGE_TAG__HEALTHCHECK/IMAGE_TAG__PROMETHEUSremain documented in.env.exampleand still take precedencedocker/prometheus/prometheus.yml) uses the standardglobal/scrape_configsformat that is unchanged in v3, and the service has no customcommand:that could be version-sensitivePairs with #101 (Grafana off EOL 9.3.0).