Shinigami is an open source Python library allowing the user to generate and build Dockerfiles during runtime
Project description
Shinigami was created to be simplistic and maintainable
Shinigami is an open source Python library allowing the user to generate and build Dockerfiles during runtime.
Usage
You can install Shinigami via pip:
pip install shinigami
Quick Example
from shinigami.shinigami import Shinigami
def create_file():
Shinigami(lang_os="python", version="3.9", build=True).generate_dockerfile()
if __name__ == '__main__':
create_file()
If you just want to generate the Dockerfile without building the container, you can do that too. Just remove the build
boolean from the class and you should see a Dockerfile populate in your current directory within seconds.
There are currently 3 seperate parameters you can choose from:
lang_os
(str
) - The language or operating system you should like to pull from Docker Hub (Example:ubuntu
)version
(str
) - The version of the language or operating system (Example:22.04
)build
(bool
) - This allows you to choose if you would like to build the Docker container or just pull the Dockerfile without buildingverbose
(bool
) - Logs information to stdout
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shinigami-0.1.12.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for shinigami-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c49391cc5b2299ff64b0d6daa8932546297f57e0b2291d0ca5d1d339b99c3ef |
|
MD5 | 53295d4141017b8bd76e0f25b8029a13 |
|
BLAKE2b-256 | 3b3857d157f918190fac75f0cfced6b0adf41a00a7e7e267ee8f894f177c1c7c |