Comments (2)
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.
Closing due to inactivity.
from micromamba-docker.
Related Issues (20)
- Document workaround for hang when using docker on macOS ARM HOT 11
- Switch from miniconda for Gitlab CI? HOT 4
- Use micromamba based container for CI with GitHub Actions HOT 8
- Install pip dependencies results a permission denied (libmamba Error opening for writing) HOT 1
- Micromamba not initializing correctly HOT 7
- Adding micromamba to an existing Docker image failing to prefix error HOT 2
- python not found on Singularity HOT 1
- Invalid argument when running pre/post link script HOT 3
- Properly document how to launch a shell in an image, not just a running container HOT 3
- Support multiple alpine base images
- Problem: Cannot add a corporate SSL certificate as update-ca-certificates tool was removed from the multistage final docker image HOT 4
- Unexpected behaviour with cuda. HOT 2
- gcc not found HOT 1
- Adding micromamba to an existing docker image documentation tip HOT 8
- Cannot install new package due to micromamba user permissions. HOT 3
- mambauser cannot write to bind mounts on Linux with Docker in rootless-mode HOT 17
- Failed to add Micromamba to another image HOT 2
- Apache 2.0 License missing copyright owner information HOT 1
- Cache accessing error when creating environments in containers from a derived image with host uid. HOT 11
- Question: can we pass extra-url to the env.yaml? HOT 3
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 micromamba-docker.