4 ms·
As the original creators of the Dockerfile, we take that as a compliment :) Our goal generally is not to replace Dockerfiles with Go. In most cases, that is no
by shykes 4y ago
As the original creators of the Dockerfile, we take that as a compliment :)
Our goal generally is not to replace Dockerfiles with Go. In most cases, that is not a desirable goal, for the reasons you listed. However, we do think you should replace the YAML spaghetti that is your CI/CD configuration with code. That is what people use Dagger for, and in the process they often find themselves building Docker containers as part of their pipeline logic, now freshly ported to Go. As a result we frequently get asked the question: "can I rewrite my Dockerfile to Go, since I'm wrapping it in a Go pipeline anyway? Should I?". This blog post is an answer to that question.