diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb83478b445c3e6f89ceb6a1f974f8f31270c32f..4e9b517c6010a368eb4787175e1da19eae74fabb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ build: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] variables: - IMAGE_TAG: latest + IMAGE_TAG: ${CI_COMMIT_REF_SLUG} GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_DEPTH: 1 GIT_SUBMODULE_UPDATE_FLAGS: --jobs 4 diff --git a/README.md b/README.md index 19a4fab8339789033d091ae8d9ab8aad5439da85..94da4176d414e695baa66d0401381a4e6df31bb8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,29 @@ -# analytics-convolutional-nn +# tutorial-convolutional-nn ## Known issues - kerase-vis is not maintained anymore (since Apr 20, 2020) - - only works with: numpy==1.22.4, scipy==1.2.3 \ No newline at end of file + - only works with: numpy==1.22.4, scipy==1.2.3 + +## Development + +Cloning the source code: +``` +git clone git@gitlab.mpcdf.mpg.de:nomad-lab/ai-toolkit/tutorial-convolutional-nn.git +cd tutorial-convolutional-nn +git checkout updates # use a special branch +``` + +Running notebook image and mounting local folder into teh work directory: +``` +docker run --rm -it -e DOCKER_STACKS_JUPYTER_CMD=notebook -p 8888:8888 -v $PWD:/home/jovyan/work gitlab-registry.mpcdf.mpg.de/nomad-lab/ai-toolkit/tutorial-convolutional-nn:updates +``` + +Building the image (advanced): +``` +docker build --pull --rm -f "Dockerfile" -t gitlab-registry.mpcdf.mpg.de/nomad-lab/ai-toolkit/tutorial-convolutional-nn:updates "." +``` + +Running container with sudo feature (advanced): +``` +docker run --rm -it --user root -e GRANT_SUDO=yes -e DOCKER_STACKS_JUPYTER_CMD=notebook -p 8888:8888 -v $PWD:/home/jovyan/work gitlab-registry.mpcdf.mpg.de/nomad-lab/ai-toolkit/tutorial-convolutional-nn:updates +```