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.
re-opening of #4079 due to CI issues
Summary
With this PR, ecs-agent will pull in a newer ca-certificates package, from the current stable release of Debian, and will no longer attempt to remove the CNNIC certs, which have already been removed upstream
Implementation details
The
stable-20211201-slim
image that is currently used to sourceca-certificates
is running Debian'sbullseye
release (a.k.a.oldstable
), and as such, pulls in ca-certificates version 20210119. By using a newer stable image (stable-20240110-slim
), the newer ca-certificates version 20230311 will be used.I also noticed that the certs Dockerfile was performing an extra step to attempt to remove the
CNNIC_ROOT
certificate, however this cert no longer appears to be present in current versions of the package.Testing
make test
was run. There were some upgrade related tests that failed there (TestCNIPluginVersionUpgrade
mainly), however it appears to be the same result from an unmodifiedmaster
branch.New tests cover the changes: no; There is no change in functionality to test
Description for the changelog
Update ca-certificates
Does this PR include breaking model changes? If so, Have you added transformation functions?
No functionality changes were made.
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.