Skip to content
Snippets Groups Projects
Commit 4f6646b8 authored by calrama's avatar calrama
Browse files

Remove jupyter docker image

parent 75e12662
No related branches found
No related tags found
No related merge requests found
...@@ -18,8 +18,6 @@ build ubuntu-18.04: ...@@ -18,8 +18,6 @@ build ubuntu-18.04:
- docker push "${CI_REGISTRY}/${CI_PROJECT_PATH,,}:devel-ubuntu18.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 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 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: after_script:
- docker logout "${CI_REGISTRY}" - docker logout "${CI_REGISTRY}"
......
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
c.NotebookApp.ip = '*'
c.NotebookApp.port = 8080
c.NotebookApp.open_browser = False
c.NotebookApp.token = ''
c.NotebookApp.password = ''
#! /bin/sh
set -e
case "$1" in
sshd)
exec /usr/sbin/sshd -D
;;
*)
exec "$@"
;;
esac
\ No newline at end of file
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment