3 ms·
Not really. I create my docker images with Bazel/crane [1]. (For reproducibility.) There are no Dockerfiles at all. --- The .py example is bad because there
by paulddraper 3y ago
Not really.
I create my docker images with Bazel/crane [1]. (For reproducibility.)
There are no Dockerfiles at all.
---
The .py example is bad because there is nothing else (AFAIK) that produces .pyc.
[1] https://github.com/bazel-contrib/rules_oci https://github.com/bazel-contrib/rules_oci
- moolcool 3y agoNobody who is just learning docker knows or cares what Bazel or Crane are. A pedant might similarly go the other way and say "C isn't just a compiled language, because personally I use the Ch C interpreter". I don't think it's a good enough reason to avoid reasonable simplifications in technical writing because "Well actually, advanced users have an edge case where that assumption doesn't strictly hold....". The only way for anyone to get a reasonable understanding of anything complex is by starting with small simplifications and generalizations.
- paulddraper 3y agoYes, but that doesn't change the fact that Docker Engine doesn't run Dockerfiles. Even for a beginner, that's unhelpful. They're going to expect docker run Dockerfile