desec-stack icon indicating copy to clipboard operation
desec-stack copied to clipboard

Rethink Deployment (formerly: Add versioning to Docker images)

Open peterthomassen opened this issue 7 years ago • 1 comments

Currently, it is hard to determine the git base commit from inside our Docker builds. To change this, a few parameters need to be passed at build time. Ideas:

  • https://blog.scottlowe.org/2017/11/08/how-tag-docker-images-git-commit-information/
  • http://container-solutions.com/tagging-docker-images-the-right-way/

peterthomassen avatar Jan 31 '18 16:01 peterthomassen

https://docs.docker.com/engine/reference/builder/#arg especially "Using ARG variables", in combination with the LABEL command

peterthomassen avatar Oct 15 '18 14:10 peterthomassen