7 ms·
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?
- SahAssar 5y agoPost-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.
- digitalsushi 5y agowe 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
- kevincox 5y agoExactly this. I see no reason to rename the file, it is effectively identical so the existing name is helpful and well known.
- Jugurtha 5y agoRelated: - https://en.wikipedia.org/wiki/Antonomasia 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 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.
- BerislavLopac 5y agoDockerless
- gkhartman 5y agoContainerfile
- oaf357 5y agoYou 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.