weightless docker image
See original GitHub issueDescription of Problem: rasa/rasa
image is big (~1.3GB). I’m trying to shrink the image, would you be interested if the weight difference is important ?
Overview of the Solution: build requirements from scratch on an alpine image and remove non-necessary runtime system dependencies
Examples (if relevant):
Blockers (if relevant):
Definition of Done:
- install scipy / openblas https://github.com/scipy/scipy/issues/9481#issuecomment-510540522
- install tensorflow / bazel
- clean up non-necessary runtime dependencies once builded
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Lightweight Docker Images in 5 Steps - Semaphore CI
Lightweight Docker Images Speed Up Deployment. Deploying your services packaged in lightweight Docker images has many practical benefits.
Read more >Slimmer: Weight loss secrets for docker registries
Slimmer: Weight loss secrets for docker registries ... Containers are created from images which are stored in a Docker registry. An image consists...
Read more >Docker good practices. "data" in a volume vs image - Stack Overflow
I'm imagining a Makefile that will build "data" image and APPS images. Is there any mechanism to check if the data has changed...
Read more >Weightless lead boxes & AAMs - STALKER Anomaly - Mod DB
Makes the lead containers, AAMs, IAMs, LLMCs, basically weightless. Now with an experimental AR version.
Read more >Docker for Beginner's | Showwcase
docker pull image-name i Pull the image from docker hub docker ps - List the container docker stop container-ID - Stop the container...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@wochinge, well I guess I won’t be harder than any dependencies. Actually, tf should release an Alpine wheel. 😅 Building dependencies from sources could optimize built wheels as we are compiling through GCC. I’ll let you know how’s going. Good work for your slim image. 👍
This is my first stage:
@tormath1 Thanks for your offer! Could you please also check with https://github.com/RasaHQ/rasa/pull/3332 ? In this pr I’m trying to achieve the same 😃 Let me know if you have suggestions!