fix: do not retag images unnecessarily

This change minimizes the work needed to be done when tagging images. It edits the image manifest directly only when necessary, allowing restarts of an app to avoid having an extra layer.

This also additionally allows to deploy images with ONBUILD directives without running the ONBUILD directives.

Lastly, users building docker images that run Dokku will need to use a new sudoer wrapper for the `docker-image-labeler` binary to work correctly. A reference version has been placed in the `docker` skeleton directory.

Closes #3931
Refs #4226
This commit is contained in:
Jose Diaz-Gonzalez committed 2021-01-24 02:09:53 -05:00
1 parent 162abcee4f
commit 9306011f70
11 files changed
+107 -22

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ endif
--depends 'cpio' \
--depends 'curl' \
--depends 'dos2unix' \
--depends 'docker-image-labeler >= 0.2.0' \
--depends 'git' \
--depends 'gliderlabs-sigil' \
--depends 'jq' \