local-dynamo | A Node.js wrapper of AWS DynamoDB Local and utilities | Runtime Evironment library
kandi X-RAY | local-dynamo Summary
kandi X-RAY | local-dynamo Summary
A Node.js wrapper of AWS DynamoDB Local and utilities
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of local-dynamo
local-dynamo Key Features
local-dynamo Examples and Code Snippets
Community Discussions
Trending Discussions on local-dynamo
QUESTION
I am trying to reduce the size of my Docker image, it has to have both python for aws-cli utilities and java for local testing using local-dynamodb. I have tried using alpine image with openjdk, but because it uses musl instead of glibc it does not work.
My image is currently 870 MB, most of it would the python3 package I install using apt-get. What can I do to cut down it's size? Is there any way to get 'slim' version like the ones that are preinstalled on alpine/debian?
Here's my Dockerfile:
...ANSWER
Answered 2019-Sep-30 at 11:47You can find slimmed versions docker python images on dockerhub https://hub.docker.com/_/python
However, I would advise to first get more info on what is taking up space in your image: Don't try to optimise what you haven't measured.
In this case, and from personal experience, I would think that the Java part is what's taking up space.
You can also cleanup apt-get after you're done, using something like
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install local-dynamo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page