Created
January 11, 2019 16:28
-
-
Save kaczmarj/34c24f92e3867b59d64ff25aa7222c8d to your computer and use it in GitHub Desktop.
scripted neurodocker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import neurodocker | |
specs = {'pkg_manager': 'apt', 'instructions': [['base', 'debian'], ['install', ['git', 'vim']]]} | |
dockerfile_string = neurodocker.Dockerfile(specs).render() | |
print(dockerfile_string) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you're confused about how the specs dictionary should look, you can generate a JSON representation of a neurodocker command with the
--json
flag.