4 ms·
+1 for using hadolint! I have been using it for ages, and I highly recommend it. I also sometimes write some Goss tests, and even run Trivy at the final stages
by willejs 5y ago
+1 for using hadolint! I have been using it for ages, and I highly recommend it. I also sometimes write some Goss tests, and even run Trivy at the final stages of the container build and delete them once done in the same layer. It takes about 10 seconds or so longer to build the container, but its baked in and helps you catch issues before pushing the container.
- DrBazza 5y agoAnd TIL goss+trivy as well. Not a devops guy, so also useful!