Re:Show HN: Smallest Node.js Docker images
by moltar on Wednesday November 14, 2018 @07:35PM
(#18455754)
What if you need to release a hot fix and your image is 1Gb?
[ Parent
| on HN ]
Re:Show HN: Smallest Node.js Docker images
by tzaman on Thursday November 15, 2018 @06:46AM
(#18458516)
1. I push a hotfix to GitHub.
2. Jenkins (which is on Google Cloud) builds it, and it already has all the Docker steps cached from previous builds, so it's fast.
3. Jenkins pushes the image to Google Cloud repo, which is almost instantaneous
4. Kubernetes (also on Google Cloud) pulls the image and makes a new deployment
No big deal. :)