Docker runcheck
Check wheter required binaries are available in the used docker image without having to first run an expensive and long docker build.
·
Report Bug
·
Request Feature
Table of Contents
About The Project
-
Run docker-runcheck to validate your Dockerfile before attempting time-intensive docker builds.
-
docker-runcheck works as follows:
- looks for a file name Dockerfile in the current working directory
- contructs one or more containers based on the mentioned parent image
- docker image is downloaded if not present but it is not built.
- export image as tar file and compile a list of the available binaries in the image
- compile a list of any binaries mentioned in a RUN command that are missing from the image or are used before being installed by a package manager.
Getting Started
pip install docker_runcheck
Usage
You can then run docker-runcheck with:
python -m docker_runcheck
Roadmap
- [] Detect binary is installed by super package (e.g. build-essential)
Contributing
Contributions are greatly appreciated.
If you have a suggestion to make this project better, please fork the repo and create a pull request. Don't forget to give the project a star! Thanks!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/SuperAmazingFeature) - Commit your Changes (
git commit -m 'Add some Super Amazing Feature') - Push to the Branch (
git push origin feature/SuperAmazingFeature) - Open a Pull Request
License
Distributed under the MIT License.
Metadata
Release files for docker_runcheck 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| docker_runcheck-0.1.7.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docker_runcheck-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.2 kB
Release files / docker_runcheck-0.1.7.tar.gz
| Download URL | docker_runcheck-0.1.7.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e26ce608a0303b3c8d8c12ffeb20952e216ea4556fccf3864525197884f309f
|
|
BLAKE2b-256 checksum How to use checksums |
cbc09852d1f65923c67bc0a9f63c2365ac740514fb64e6cee908c1fa907f2841
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.13.1 Darwin/24.2.0
|
Release files / docker_runcheck-0.1.7-py3-none-any.whl
| Download URL | docker_runcheck-0.1.7-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90b412c951943701cce3eb9bcf9c47b70970bfa0d42f49706c0af630550d29b2
|
|
BLAKE2b-256 checksum How to use checksums |
5b4ad7a8ddd7eaacd0447475a411f7551210f9bc78a5b0b52e38386831cb5efc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.13.1 Darwin/24.2.0
|