Comments (4)
I am not against this change but i'd guess this change would break any existing image as you would have to replace all the template files with a Dockerfile
. I actually prefer the current name as it makes clear that it's not a simple Dockerfile on it's own but instead it's a template that will be used and maybe even altered by Kubler.
from kubler.
Thanks for the comments r71.
I working on #215 and was thinking it could simplify kubler, by leveraging docker features.
Right now I mostly see IMAGE_PARENT
and MAINTAINER
like the figlet example in the OP. The MAINTAINER
seems to be just a way to centralise it, in your central kubler.conf
you can update this, and every image will get the update.
The IMAGE_PARENT
is important as it is used to define the dependency graph hierarchy, if build.conf
didn't declare it and it was just hardcoded in the FROM
directives then kubler wouldn't understand the image dependency graph, couldn't order the builds, and dependency images would be missing due to not being built yet.
from kubler.
Maybe i got your idea wrong. What i meant is that currently every image has a file called Dockerfile.template
like you've said and the .template
file extension is a nice way to not mix this template file with a real Dockerfile.
I don't mind changing these variables if this helps. But it's up to @edannenberg anyways.
from kubler.
You understood me right. I was thinking to effectively git mv Dockerfile.template Dockerfile
, and to add the ARG IMAGE_PARENT
etc to the dockerfile, and then in the docker build
commands add the --build-arg IMAGE_PARENT="${IMAGE_PARENT}"
sort of thing.
The way Kubler is right now, before a build, you have the Dockerfile.template
, and after a build you have the generated Dockerfile
with the concrete values, and the rootfs.tar
, together which is enough to feed to native docker to (re)create the image.
from kubler.
Related Issues (20)
- flaggie will be removed from the portage tree on 2023-01-24. HOT 5
- Here we go again: user eclasses have been updated again and causing trouble for Kubler HOT 2
- Apptainer/Singularity support? HOT 2
- flaggie-0.99.3 does not support --strict and --destructive-cleanup
- bob-core Dockerfile template clobbered RUN command
- error when calling app-portage/flaggie HOT 7
- permission thing HOT 16
- Support proxied / restrictive environments HOT 2
- [BUG]: `POST_BUILD_HC=false` is not honoured HOT 2
- user eclasses updated again
- Example mytest/figlet fails without optional GPG keys HOT 3
- missing gfortran.so HOT 2
- kubler builds broken core image if xzcat not found HOT 1
- acct-user.eclass updated again breaking Kubler patches HOT 1
- FEATURES="-network-sandbox" being stripped from build dependencies
- What is the Glibc Iconv Encodings _iconv_from Feature HOT 2
- MIRROR fails with multiple elements HOT 1
- log file permissions when running as non-root HOT 2
- cannot build builders HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubler.