Code Monkey home page Code Monkey logo

Comments (4)

syphar avatar syphar commented on June 20, 2024

#255 (comment)

I understand that the doc build is executed inside the kellnr docker container, so these dependencies are only needed to build docs hosted on kellnr?

This will only become more and more.

docs.rs and crater are using our own crates-build-env container, see also https://docs.rs/about/builds, and the list of installed packages is long.

from kellnr.

secana avatar secana commented on June 20, 2024

Thanks for reporting. I see a general conflict of interest in what Kellnr wants to achieve.

  1. It should be very easy to setup and use. Just one docker run -> That speaks for a build-in doc.rs build
  2. It should be small enough to run on low-end hardware -> This speaks for a separat builder

The only option which would solve both is to split Kellnr into three images.

  1. The full image with a build in doc.rs builder (what we have now)
  2. A minimal Kellnr image without the doc.rs build
  3. A builder container which can be used as a sidecar for the 2. to build if needed

With this option, a user can decide if he needs the docs.rs build and if he wants one large image or two smaller one. Unfortunately that is a lot of work to implement.

from kellnr.

syphar avatar syphar commented on June 20, 2024

another factor I can imagine:

if kellnr is used more as a private registry, it's totally fine to just extend the main kellnr docker container with the system dependencies your packages need.

If you use kellnr more as a mirror of crates.io, you'll need the full image over time.

from kellnr.

syphar avatar syphar commented on June 20, 2024

two other things to add because I just had to look it up for another question:

from kellnr.

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.