Git Product home page Git Product logo

Comments (2)

wholtz avatar wholtz commented on June 1, 2024

Hi @pgierz , thanks for your interest in micromamba.

Software takes space, there is no way around that basic truth, but here are some options you can try out:

  • Look up best practices for apt in a Dockerfile. You aren't cleaning up a bunch of cache and temp files. (You also aren't following micromamba best practices for cleaning up -- see the README.md for examples)
  • Perhaps install git via micromamba. Probably won't be any smaller, but your Dockerfile will be less complex
  • If you just need to clone a git repo into your image once, then look up multi-stage docker builds. This allows you to have a setup docker image that has the git binaries but not include those binaries in the final image. This won't work if you need to continually use git throughout the the lifetime of the container.
  • Consider using a volume mount to get your git repo into your container. Then you can use git on the host side to do the required operations.

You might want to read this reference - it isn't about micromamba, but the concepts are the same.

from micromamba-docker.

wholtz avatar wholtz commented on June 1, 2024

Closing due to inactivity.

from micromamba-docker.

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.