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

Best practices for following base image updates #16

Closed
ceejatec opened this issue Sep 12, 2020 · 2 comments
Closed

Best practices for following base image updates #16

ceejatec opened this issue Sep 12, 2020 · 2 comments

Comments

@ceejatec
Copy link

Our official image (couchbase) extends the ubuntu base image. We would like to have our official image rebuilt with some frequency (monthly?) to pick up any security updates that have been integrated into that base image. Is that something you already do for official images? If not, how would you recommend we trigger it? I'm not sure if we can make a PR to docker-library/official-images as our library/couchbase control file would not have changed, unless we introduced an empty commit in our Dockerfile repository (which we're happy to do if that's the current best practice).

@yosifkit
Copy link
Member

That is automatic; anytime that an image is updated, all images that are FROM it are rebuilt.

We strive to publish updated images at least monthly for Debian and Ubuntu. We also rebuild earlier if there is a critical security need, e.g. docker-library/official-images#2171. Many Official Images are maintained by the community or their respective upstream projects, like Alpine and Oracle Linux, and are subject to their own maintenance schedule. These refreshed base images also means that any other image in the Official Images program that is FROM them will also be rebuilt (as described in the project README.md file).

- https://github.com/docker-library/faq/blob/master/README.md#why-does-my-security-scanner-show-that-an-image-has-cves

@tianon tianon closed this as completed Sep 14, 2020
@ceejatec
Copy link
Author

Ah, excellent! I missed that part of the FAQ. Thanks for the response.

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

No branches or pull requests

3 participants