Sign inSign up

iphysresearch/dingo

By iphysresearch

•Updated over 3 years ago

Image
0

59

iphysresearch/dingo repository overview

run_container.sh:

sudo docker run --runtime=nvidia  \
		-itd \
                -p 3301:22 \
                -p 9999:8888 \
                --name DINGO_dev  \
               	dingo:0.1

where the Dockerfile:

FROM base_gpus:0.1
RUN echo "Compling / Downloading dependancies" \
&& cd /home && git clone --recursive https://github.com/dingo-gw/dingo.git \
&& python -m venv dingo-venv \
#&& source /home/dingo-venv/bin/activate \
&& cd dingo \
&& /home/dingo-venv/bin/pip install -e ."[dev]" \
&& cd / \
&& echo "#!/bin/bash\n\
sed -i \"s/Port 22/Port \$SSH_PORT/g\" /etc/ssh/sshd_config\n\
service ssh start\n\
/bin/bash" >./startup.sh \
&& chmod 777 ./startup.sh \
#
# add welcome tips
#
&& CONDA_VERSION=`/root/miniconda3/condabin/conda -V` \
&& CONDA_VERSION=${CONDA_VERSION#* } \
&& echo "\
printf '\\\n'\n\
printf '\\\033[0;34m'\n\
printf 'Dingo: Deep inference for gravitational-wave observations\\\n'\n\
printf 'Repo: https://github.com/dingo-gw/dingo\\\n'\n\
printf '\\\n'\n\
printf ' The code can be found at \`/home/dingo\`\\\n'\n\
printf ' Use \`source /home/dingo-venv/bin/activate\` to activate DINGO env\\\n'\n\
printf '\\\033[0m'\n\
printf '\\\n'\n\
" >>/etc/update-motd.d/10-help-text \
#
# cleanup
#
&& rm -rf /var/lib/apt/lists/* /tmp/*
#
# set startup script
#
ENTRYPOINT ./startup.sh

Tag summary

Content type

Image

Digest

sha256:2533b51b7…

Size

5.4 GB

Last updated

over 3 years ago

docker pull iphysresearch/dingo:0.1