Skip to content
Snippets Groups Projects
Verified Commit 24a9510a authored by georg's avatar georg
Browse files

hadolint: ignore DL3005: apt-get {dist-upgrade,upgrade}

According to the docs, this is frowned upon, as upgrading essential
packages might fail inside an unprivileged container.

That's a non-issue in our cases, as we're using privileged containers.

Further, we want to achieve the best of both worlds: we want to leverage
a build cache, to reduce build times, but, at the same time, we want to
pull in upgraded packages, in case the packages in question are already
installed.

This change should help with exposing errors like the one reported in
jvoisin/mat2#136 earlier in the future.
parent a7f9df6f
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment