Shinigami is an open source package allowing the user to generate and build a Dockerfile during runtime.
Project description
Shinigami
Shinigami is an open source Python module allowing the user to generate and build a Dockerfile during runtime.
Usage
Shinigami was created to be simplistic and maintainable. This means we've created a simple class called Shinigami
, which can be called anywhere in your application. From here, you can call the generate_dockerfile()
function. This allows the flexibility to only require a single call in your application, but multiple file generations.
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()
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 building
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.0.4.tar.gz
(14.7 kB
view hashes)
Built Distribution
shinigami-0.0.4-py3-none-any.whl
(15.1 kB
view hashes)
Close
Hashes for shinigami-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b612b9e0bd1c1d8310fb6780af5d8d0937c892c87da22b14d5039aa9b44bbb |
|
MD5 | 210a4b9756f795e96a65f5d8cc0de563 |
|
BLAKE2b-256 | 54d6625294d9e675db0bf4070a6eaee497125e142ff0889fc5d89060bdfe34a2 |