Netflix-Skunkworks / zerotodocker

Dockerfiles to be used to create Dockerhub trusted builds of NetflixOSS
Apache License 2.0
407 stars 101 forks source link

understand how to map latest specific version to "latest" in docker run/pull #14

Open aspyker opened 9 years ago

aspyker commented 9 years ago

Discovered that in Dockerhub, you can change your automated build to build twice from the same path and then with two tags (the version and latest). Solved.

aspyker commented 9 years ago

After doing two tags per automated build, realized that images are actually different. Contacted Docker and they confirmed there is no way to do this in Dockerhub automated builds today. Will keep open until Dockerhub allows a single build to be tagged with version and latest.

jmcgarr commented 9 years ago

Assume this is why there is no netflixoss/asgard [latest], correct? DockerHub requires manual intervention to label a build latest?

cgswong commented 9 years ago

For automated builds this is still a problem. Would need to switch to manual builds which IMHO is fine. The build -> push process would be part of your CI/CD workflow so it's automated.