Comments (5)
Technically you could already accomplish this via the configure_rootfs_build()
hook, it would require jumping through some hoops though, as at this point bob is already configured for building the rootfs.tar file.
- add another hook
configure_bob()
beforeconfigure_rootfs_build()
- change make.conf handling a bit, probably better to simply pass
ROOT
via env and remove it from make.conf so we don't have to maintain 2 copies (installing to bob/custom root)
from kubler.
I think this somewhat ties into DEPENDs in ebuilds. Since most DEPEND still rely on RDEPEND, there's a bit of skew in here. For instance, if I wanted to build nodejs, I'd pull openssl which in turn would have a slew of build dependencies, but not runtime dependencies (debianutils, coreutils, ...).
I don't know how far off we'd like to stray from gentoo, but from an openssl consumption perspective the leftovers of building it should go away.
Should each Buildconfig have a stricter cleanup phase?
from kubler.
If I understand you correctly, yea it has to be done on a per image basis in the finish_rootfs_build()
hook.
I don't know how far off we'd like to stray from gentoo, but from an openssl consumption perspective the leftovers of building it should go away.
Ideally i'd like to keep images as maintainable as possible, what do you have in mind?
from kubler.
I think we shouldn't do too much for now. It's up to anyone building their own docker image to decide what's needed and what's not.
Edit: I think being able to control the install part could be beneficial. Say for instance I have a USE="static" emerge dev-libs/nodejs ebuild, which pulls openssl or whatever dep. Tricking emerge not to install any of the deps would be nice since I'd optimally just copy the built binary over. How about not finishing the full emerge process (think ebuild compile or similar)?
from kubler.
Lets close this :) Most of the interesting parts were landed with bob-core
.
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
- Use Dockerfile ARGs HOT 4
- 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.