Giter Site home page Giter Site logo

Comments (5)

edannenberg avatar edannenberg commented on May 24, 2024

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() before configure_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.

jbergstroem avatar jbergstroem commented on May 24, 2024

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.

edannenberg avatar edannenberg commented on May 24, 2024

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.

jbergstroem avatar jbergstroem commented on May 24, 2024

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.

jbergstroem avatar jbergstroem commented on May 24, 2024

Lets close this :) Most of the interesting parts were landed with bob-core.

from kubler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.