1 min read · July 23, 2017
Images are automatically build on Docker Hub.
Docker Cloud and therefore Docker Hub also provides overriding and customization of various commands when building images automatically.
There are some hooks defined in the
docker/hooks folder of these images:
hooks/build- executed when building image
hooks/post_push- executed after building image, used to push additional tags to Docker Hub.
build-date- Date and time of the build. Defined as
$BUILD_DATEis set dynamically via above
vcs-url- Repository location on GitHub. Defined as
vcs-ref- Reference to commit in Git repository
schema-version- Version of the Label Schema in use.
vendor- Vendor name of the image creators.