[docker] How to ignore ubuntu-20 updates if ubuntu-22 is available #10979
Unanswered
MarvinVaillant
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody,
we use dependabot to keep our Dockerfiles up to date. Today I faced an interesting update suggestion that I'd like to ignore in the future.
Currently we have a dockerfile with a base image like this:
You see the version of the tool
v2.319.1
, then the base image they usedubuntu-22.04
and a hash. Given this dockerfile Dependabot suggested to update tov2.321.0-ubuntu-20.04-xxxxxx
(please note the ubuntu version downgraded to20.04
). Even though there is also a variant with for ubuntu 22.04 (v2.321.0-ubuntu-22.04-xxxxxx
).Do you know how I can ignore any
ubuntu-20.04
dependabot updates in the future?When using wildcards dependabot complains about invalid syntax:
Beta Was this translation helpful? Give feedback.
All reactions