Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rahulunair/mutter
Extracts user installed package name, versions and license info from a docker image (when the base image is provided)
https://github.com/rahulunair/mutter
debian docker license-checking ubuntu
Last synced: 3 days ago
JSON representation
Extracts user installed package name, versions and license info from a docker image (when the base image is provided)
- Host: GitHub
- URL: https://github.com/rahulunair/mutter
- Owner: rahulunair
- License: unlicense
- Created: 2020-05-15T22:05:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-20T17:27:46.000Z (over 4 years ago)
- Last Synced: 2025-01-11T08:58:59.319Z (6 days ago)
- Topics: debian, docker, license-checking, ubuntu
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Mutter
Mutter is a tool i wrote because there was none to my liking and probably will not be useful to you.
## What it does?
well, the only thing it takes as arguments are 2 docker images, a `base image` and a `final image`, then it extracts the packages and versions
installed in the final image along with the license(fuzzy and terribly in need to refactor this part). This can help when you want to ship an image
and is too lazy to search for all the packages and extract their licenses manually.## Usage
```bash
python mutt.py
```It will take a while(it starts up a docker process everytime to grep for licenses per package, I know .. terrible!), please wait and once it's done a **csv** file would be save locally on your computer.
The tool would then scan the **base image** for packages installed along with the dependencies and then diff it with the **final image** and saves the result as a csv. This is done so that only the packages and dependencies installed on the final_image is the one that I care about.
## Which OS is supported?
Supports any host that has a posix shell, but for now only debian based docker images are supported - debian, ubuntu, mint etc..