Ask HN: What do you call a non-Docker Dockerfile?
Is there a convention for naming an OCI file with commands for building the container image?
Related:
- https://en.wikipedia.org/wiki/Antonomasia
>In rhetoric, antonomasia is a kind of metonymy in which an epithet or phrase takes the place of a proper name, such as "the little corporal" for Napoleon I; or, conversely, the use of a proper name as an archetypal name, to express a generic idea.
- https://en.wikipedia.org/wiki/Metonymy
>Metonymy (/mɛˈtɒnəmi/)[1] is a figure of speech in which a thing or concept is referred to by the name of something closely associated with that thing or concept.
we have this problem and we're just going to keep calling them Dockerfile, even if podman is doing all of our builds from now on. Admittedly we're just using buildah bud and not trying to reinvent our little world
Post-docker-file
Docker-agnostic-file
But seriously, how about: OCIMakefile
I've mostly used nspawn stuff for non-docker containers and then I either build them via normal makefiles that construct the image or I use mkosi.
You can call a dockerfile whatever you want. You'll need to specify the filename at build. But, the name really doesn't matter. You can call it umptysquat.txt and it'll build you a container.
In the wild, I've seen (case insensitive) Dockerfile (obvs), Containerfile, and Container.
Containerfile
Dockerless