diff --git a/Dockerfile b/Dockerfile index 21ab3c8..2ffd268 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Generated by Neurodocker version 0.4.3-2-g01cdd22 -# Timestamp: 2019-01-10 18:30:13 UTC +# Timestamp: 2019-01-23 12:58:25 UTC # # Thank you for using Neurodocker. If you discover any issues # or ways to improve this software, please submit an issue or diff --git a/build_docker_image b/build_docker_image new file mode 100755 index 0000000..53035e0 --- /dev/null +++ b/build_docker_image @@ -0,0 +1,2 @@ +#!/bin/bash +docker build -t lukassnoek/bidsify:$1 -t lukassnoek/bidsify:latest . diff --git a/build_dockerfile.sh b/build_dockerfile.sh deleted file mode 100644 index b97c316..0000000 --- a/build_dockerfile.sh +++ /dev/null @@ -1 +0,0 @@ -docker build -t lukassnoek/bidsify:0.3.1 -t lukassnoek/bidsify:latest . diff --git a/create_new_release b/create_new_release new file mode 100755 index 0000000..1b66b1c --- /dev/null +++ b/create_new_release @@ -0,0 +1,7 @@ +#!/bin/bash +python setup.py sdist +twine upload dist/bidsify-$1.tar.gz +./generate_dockerfile +./build_docker_image $1 +docker push lukassnoek/bidsify:$1 +docker push lukassnoek/bidsify:latest diff --git a/create_new_release.sh b/create_new_release.sh deleted file mode 100644 index 48934a9..0000000 --- a/create_new_release.sh +++ /dev/null @@ -1,2 +0,0 @@ -python setup.py sdist -twine upload dist/* diff --git a/generate_dockerfile.sh b/generate_dockerfile old mode 100644 new mode 100755 similarity index 98% rename from generate_dockerfile.sh rename to generate_dockerfile index 5573e04..9b70838 --- a/generate_dockerfile.sh +++ b/generate_dockerfile @@ -1,3 +1,4 @@ +#!/bin/bash docker run --rm kaczmarj/neurodocker:0.4.3 generate docker \ --base debian:stretch --pkg-manager apt \ --install git \