def test_docker(self): specs = { "pkg_manager": "yum", "instructions": [ ("base", "centos:7"), ("user", "neuro"), ("workdir", "/home/neuro"), ( "miniconda", { "create_env": "default", "conda_install": ["python=3.6.5", "traits"], "pip_install": ["nipype"], "activate": True, }, ), ("miniconda", { "use_env": "default", "pip_install": ["pylsl"] }), ], } bash_test_file = "test_miniconda.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { 'pkg_manager': 'yum', 'instructions': [ ('base', 'centos:7'), ('user', 'neuro'), ( 'miniconda', { 'create_env': 'default', 'conda_install': ['python=3.6.5', 'traits'], 'pip_install': ['nipype'], 'activate': True, } ), ( 'miniconda', { 'use_env': 'default', 'pip_install': ['pylsl'], } ), ], } bash_test_file = "test_miniconda.sh" utils.test_docker_container_from_specs( specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { 'pkg_manager': 'apt', 'instructions': [ ('base', 'ubuntu:16.04'), ('freesurfer', {'version': '6.0.0-min'}), ('user', 'neuro'), ] } bash_test_file = "test_freesurfer.sh" utils.test_docker_container_from_specs( specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { "pkg_manager": "yum", "instructions": [ ("base", "centos:7"), ("mrtrix3", {"version": "3.0_RC3"}), ("user", "neuro"), ], } bash_test_file = "test_mrtrix.sh" utils.test_docker_container_from_specs( specs=specs, bash_test_file=bash_test_file )
def test_docker(self): """Install PETPVC binaries on Ubuntu Xenial.""" specs = { "pkg_manager": "apt", "instructions": [ ("base", "ubuntu:xenial"), ("petpvc", {"version": "1.2.2"}), ("user", "neuro"), ], } bash_test_file = "test_petpvc.sh" utils.test_docker_container_from_specs( specs=specs, bash_test_file=bash_test_file )
def test_docker(self): specs = { 'pkg_manager': 'apt', 'instructions': [ ('base', 'debian:stretch'), ('spm12', { 'version': 'r7219' }), ('user', 'neuro'), ], } bash_test_file = "test_spm12.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { 'pkg_manager': 'apt', 'instructions': [ ('base', 'ubuntu:18.04'), ('convert3d', { 'version': '1.0.0' }), ('user', 'neuro'), ] } bash_test_file = "test_convert3d.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { 'pkg_manager': 'yum', 'instructions': [ ('base', 'centos:7'), ('mrtrix3', { 'version': '3.0' }), ('user', 'neuro'), ], } bash_test_file = "test_mrtrix.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { "pkg_manager": "apt", "instructions": [ ("base", "ubuntu:20.04"), ("freesurfer", { "version": "7.1.1-min" }), ("user", "neuro"), ], } bash_test_file = "test_freesurfer.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { "pkg_manager": "apt", "instructions": [ ("base", "ubuntu:18.04"), ("convert3d", { "version": "1.0.0" }), ("user", "neuro"), ], } bash_test_file = "test_convert3d.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { 'pkg_manager': 'apt', 'instructions': [ ('base', 'ubuntu:xenial'), ('minc', { 'version': '1.9.15' }), ('user', 'neuro'), ] } bash_test_file = "test_minc.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { "pkg_manager": "apt", "instructions": [ ("base", "ubuntu:xenial"), ("minc", { "version": "1.9.15" }), ("user", "neuro"), ], } bash_test_file = "test_minc.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { "pkg_manager": "apt", "instructions": [ ("base", "debian:stretch"), ("spm12", { "version": "r7219" }), ("user", "neuro"), ], } bash_test_file = "test_spm12.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { "pkg_manager": "yum", "instructions": [ ("base", "centos:7"), ("dcm2niix", { "version": "master", "method": "source" }), ("user", "neuro"), ], } bash_test_file = "test_dcm2niix.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): """Install PETPVC binaries on Ubuntu Xenial.""" specs = { 'pkg_manager': 'apt', 'instructions': [ ('base', 'ubuntu:xenial'), ('petpvc', { 'version': '1.2.2' }), ('user', 'neuro'), ] } bash_test_file = "test_petpvc.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { "pkg_manager": "yum", "instructions": [ ("base", "centos:7"), ("ants", { "version": "2.2.0", "method": "binaries" }), ("user", "neuro"), ], } bash_test_file = "test_ants.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { 'pkg_manager': 'yum', 'instructions': [ ('base', 'centos:7'), ('dcm2niix', { 'version': 'master', 'method': 'source' }), ('user', 'neuro'), ], } bash_test_file = "test_dcm2niix.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { 'pkg_manager': 'yum', 'instructions': [ ('base', 'centos:7'), ('ants', { 'version': '2.2.0', 'method': 'binaries' }), ('user', 'neuro'), ] } bash_test_file = "test_ants.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { "pkg_manager": "apt", "instructions": [ ("base", "ubuntu:16.04"), ( "neurodebian", {"os_codename": "stretch", "server": "usa-nh", "full": True}, ), ("install", ["dcm2niix"]), ("user", "neuro"), ], } bash_test_file = "test_neurodebian.sh" utils.test_docker_container_from_specs( specs=specs, bash_test_file=bash_test_file )
def test_docker(self): """Install latest AFNI binaries on Debian stretch.""" specs = { "pkg_manager": "apt", "instructions": [ ("base", "debian:stretch"), ("afni", { "version": "latest", "method": "binaries" }), ("user", "neuro"), ], } bash_test_file = "test_afni.sh" utils.test_docker_container_from_specs(specs=specs, bash_test_file=bash_test_file)
def test_docker(self): specs = { 'pkg_manager': 'apt', 'instructions': [ ('base', 'ubuntu:16.04'), ( 'neurodebian', { 'os_codename': 'stretch', 'server': 'usa-nh', 'full': True, } ), ('install', ['dcm2niix']), ('user', 'neuro'), ] } bash_test_file = "test_neurodebian.sh" utils.test_docker_container_from_specs( specs=specs, bash_test_file=bash_test_file)