Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: Do not pin the ca-certs pkg #3060

Merged
merged 1 commit into from
May 8, 2023
Merged

Conversation

codebien
Copy link
Contributor

@codebien codebien commented May 8, 2023

Hadolint advises to pin a version, but in this specific case isn't very useful because:

  • We always want the latest version for the ca-certificates package
  • It has a date-based versioning so we couldn't use the common =~ selector for patch updates. It mostly breaks every time the Alpine repository releases a new version because they don't keep the previous one.

See also: hadolint/hadolint#464 (comment)

@codebien codebien self-assigned this May 8, 2023
@github-actions github-actions bot requested review from imiric and mstoykov May 8, 2023 09:27
@codebien codebien mentioned this pull request May 8, 2023
@codecov-commenter
Copy link

codecov-commenter commented May 8, 2023

Codecov Report

❗ No coverage uploaded for pull request base (release/v0.44.1@b52d12c). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 0f152e8 differs from pull request most recent head 8c3dd41. Consider uploading reports for the commit 8c3dd41 to get more accurate results

@@                Coverage Diff                 @@
##             release/v0.44.1    #3060   +/-   ##
==================================================
  Coverage                   ?   77.01%           
==================================================
  Files                      ?      228           
  Lines                      ?    17066           
  Branches                   ?        0           
==================================================
  Hits                       ?    13144           
  Misses                     ?     3079           
  Partials                   ?      843           
Flag Coverage Δ
ubuntu 77.01% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

olegbespalov
olegbespalov previously approved these changes May 8, 2023
Dockerfile Outdated Show resolved Hide resolved
Copy link
Contributor

@imiric imiric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Please change the base to release/v0.44.1 before merging.

@codebien codebien changed the base branch from master to release/v0.44.1 May 8, 2023 10:07
Hadolint advises to pin a version, but in this specific case isn't
very useful because:
- We always want the latest version for the ca-certificates package
- It has a date-based versioning so we couldn't use the common `=~`
  selector for patch updates. It mostly breaks every time the Alpine
  repository releases a new version because they don't keep the previous one.
@codebien codebien force-pushed the fix-docker-ca-certs branch from df417af to 8c3dd41 Compare May 8, 2023 10:22
@codebien codebien merged commit 875b098 into release/v0.44.1 May 8, 2023
@codebien codebien deleted the fix-docker-ca-certs branch May 8, 2023 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants