Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

battleoverflow/shinigami-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shinigami is an open source TypeScript/JavaScript library allowing the user to generate Dockerfiles during runtime.

This library is currently not maintained and is missing some of the features of its counterparts. For now, the project is archived.

This code was originally created as an open source Python module, converted to TypeScript/JavaScript for availability. If you're interested in using the Python version, check it out here. The Python library is currently being supported.

Install

Shinigami was removed from the npm registry, so you'll have to build it directly:

npm run build

Usage

import { shinigami } from "shinigami"

// Generates a Dockerfile using the Python 3.9 template
const generateDockerfile = () => {
    shinigami("python", "3.9")
}

You can find all available Dockerfiles here: DockDB