Docker Community Forums

Share and learn in the Docker community.

Autobuilding won't trigger when baseimage is updated

I have the the following Docker: madskonradsen/centos-supervisor

That contains the following from statement:
FROM centos:centos7

and even though “Repository links: Enable for Base Image” is enabled in the settings, my image isn’t autobuilding. Am I missing something, or is it a bug?

Yes, you did miss something.

The tooltip for “Enable for Base Image” clearly states, that this only works for non offical images:

Trigger a build in this repository whenever the base image is updated on Docker Hub. Only works for non-official images.

Base images are specified in the FROM: directive in the Dockerfile of the source repository.

Which makes perfect sense, as an update of offical images would trigger a rebuild of all images, that use it as a base image. Would you prefer a denial of service because the build servers are overloaded or a blockage of the the build queue for a long time?

Yup, It seems like I missed that questionmark somehow! But it makes perfect sense. Thanks!