diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 35c59d9d008faee3a1b84d334a2ab2d9664c3440..642a82c0621b88cbc49fa553a2282765880512a8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,8 +18,6 @@ build ubuntu-18.04: - docker push "${CI_REGISTRY}/${CI_PROJECT_PATH,,}:devel-ubuntu18.04" - docker build $OPTS --pull -t "${CI_REGISTRY}/${CI_PROJECT_PATH,,}:cuda-devel-ubuntu18.04" -f ubuntu18.04/cuda-devel/Dockerfile ubuntu18.04 - docker push "${CI_REGISTRY}/${CI_PROJECT_PATH,,}:cuda-devel-ubuntu18.04" - - docker build $OPTS --pull -t "${CI_REGISTRY}/${CI_PROJECT_PATH,,}:jupyter-ubuntu18.04" -f ubuntu18.04/jupyter/Dockerfile ubuntu18.04/jupyter - - docker push "${CI_REGISTRY}/${CI_PROJECT_PATH,,}:jupyter-ubuntu18.04" after_script: - docker logout "${CI_REGISTRY}" diff --git a/ubuntu18.04/jupyter/Dockerfile b/ubuntu18.04/jupyter/Dockerfile deleted file mode 100644 index a9f40feb2c9a4f086a93c8d5d6b8ce22c3cf1884..0000000000000000000000000000000000000000 --- a/ubuntu18.04/jupyter/Dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -FROM git.imp.fu-berlin.de:5000/bioroboticslab/robofish/docker:cuda-devel-ubuntu18.04 - -RUN python3.7 -m pip --no-cache-dir install \ - numpy \ - scipy \ - matplotlib \ - pandas \ - jupyterlab - -RUN apt-get update && \ - apt-get install -y openssh-server && \ - mkdir -p /var/run/sshd && \ - mkdir /root/.ssh && \ - chmod 700 /root/.ssh && \ - touch /root/.ssh/authorized_keys && \ - apt-get clean - -COPY jupyter_notebook_config.py /root/.jupyter/ -COPY launch.sh /sbin -COPY sshd_config /etc/ssh/sshd_config - - -WORKDIR "/root" -ENTRYPOINT [ "/sbin/launch.sh" ] -CMD [ "sshd" ] - -EXPOSE 22 -EXPOSE 8080 diff --git a/ubuntu18.04/jupyter/jupyter_notebook_config.py b/ubuntu18.04/jupyter/jupyter_notebook_config.py deleted file mode 100644 index 28a350467104e82edfd182aebfb107ab4681fe4b..0000000000000000000000000000000000000000 --- a/ubuntu18.04/jupyter/jupyter_notebook_config.py +++ /dev/null @@ -1,5 +0,0 @@ -c.NotebookApp.ip = '*' -c.NotebookApp.port = 8080 -c.NotebookApp.open_browser = False -c.NotebookApp.token = '' -c.NotebookApp.password = '' diff --git a/ubuntu18.04/jupyter/launch.sh b/ubuntu18.04/jupyter/launch.sh deleted file mode 100755 index f55914b75f80165b4c6c84c166193e00b05a0c4e..0000000000000000000000000000000000000000 --- a/ubuntu18.04/jupyter/launch.sh +++ /dev/null @@ -1,12 +0,0 @@ -#! /bin/sh - -set -e - -case "$1" in -sshd) - exec /usr/sbin/sshd -D - ;; -*) - exec "$@" - ;; -esac \ No newline at end of file diff --git a/ubuntu18.04/jupyter/sshd_config b/ubuntu18.04/jupyter/sshd_config deleted file mode 100644 index 29b21d04b8afa05787c9b315a002f6a6bac32899..0000000000000000000000000000000000000000 --- a/ubuntu18.04/jupyter/sshd_config +++ /dev/null @@ -1,17 +0,0 @@ -Port 22 - -PubkeyAuthentication yes -PasswordAuthentication no -PermitRootLogin prohibit-password -PermitEmptyPasswords no -UsePAM yes - -X11Forwarding yes -X11UseLocalhost no - -PrintMotd no -PrintLastLog no - -Subsystem sftp /usr/lib/openssh/sftp-server - -AcceptEnv LANG LC_* \ No newline at end of file