Giter Site home page Giter Site logo

Comments (14)

jbergstroem avatar jbergstroem commented on May 24, 2024

Interesting. I'll think about it over the weekend. Push WIP to branch?

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

Sure, could you finish the open PR so i can merge it before i put up the new branch? (run ldconfig in glibc dockerfile and remove packages.md) If you are short on time let me know.

from kubler.

jbergstroem avatar jbergstroem commented on May 24, 2024

@edannenberg I was thinking we'd hold off the glibc stuff until we've merged the patch into gentoo's glibc. Thoughts?

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

Don't think we need to wait for that, we can use the uclibc linked version as it's also smaller then the glibc one. Should be ready by the end of the week. Reason i wanted to merge your PR first before i push the new stuff is that the directory structure will change quite a bit, so less merge hassle.

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

Added details on build container configuration to OP.

from kubler.

jbergstroem avatar jbergstroem commented on May 24, 2024

Ok, I'll fix it shortly. Btw, rebase your branch onto the glibc one if you want to push somewhere.

from kubler.

jbergstroem avatar jbergstroem commented on May 24, 2024

It'd be great if you could make a pull request or a branch so this awesome stuff is easier to look at. As for the other stuff we've briefly talked about (including repo layout), I think they could belong in a new issue for further discussion. I have a few ideas about how we could possibly simplify building and passing options to builds with something in style with dialog. I think the directory layout discussion could also benefit from some thoughts about supporting multiple container types (at least start abstracting generic functions we override or inherit similar to eclass/ebuild steps?).

from kubler.

jbergstroem avatar jbergstroem commented on May 24, 2024

I'm not also convinced about the pseudo-tag syntax. Can't say I have a better suggestion at the moment though.

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

Just pushed current state: c700eb3
After pulling, move cached bin packages from tmp/packages/ to tmp/packages/x86_64-pc-linux-gnu. Each CHOST has his own bin cache now.

Did a whole stack rebuild today and everything seems to be in order, dipped below the 20mb mark on the nginx image. ^^

Yea I'm also not 100% sold on the BUILD_FROM tag, kinda confusing. Maybe BUILD_WITH is a bit clearer. SKIP_ROOTFS could be dropped for a simple check if Buildconfig.sh exists.

And sure keep them ideas (issues ;p) coming.

from kubler.

jbergstroem avatar jbergstroem commented on May 24, 2024

Starting to play around with this. I'll add a few things as I go along

  • environment variables should override config, not the other way around (for instance MIRROR)
  • Remove the eselect news read new output. I don't think anyone will read the output of build.sh if it doesn't result in an error
  • update readme to reflect that build now needs repo/image, not just image (gentoobb/busybox vs busybox)
  • provide path to docker images repo through config or flag/env

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

Alright time to get back into this. Will be on IRC all day today.

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

As the autobuilds for stage3 seem to be defunc I switched to hardened+nomulti stage3. Did a whole rebuild and fixed some minor issues along the way. Updated the namespaces branch.

Let's have a chat these days about the ENV stuff.

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

Refactoring escalated a bit, build logic is now fully decoupled from the docker specific parts. Added a dummy engine and namespace if you want to play around.

I will start the documentation rewrite these days so this can finally land on master.

from kubler.

edannenberg avatar edannenberg commented on May 24, 2024

The eagle has landed. ^^

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.