Removing Dockerfile because it seems to fail with Binder
parent
d8176ec2cb
commit
df5905884b
53
Dockerfile
53
Dockerfile
|
@ -1,53 +0,0 @@
|
||||||
FROM andrewosh/binder-base
|
|
||||||
|
|
||||||
USER root
|
|
||||||
|
|
||||||
RUN apt-get update -y &&\
|
|
||||||
apt-get install --fix-missing -y \
|
|
||||||
cmake\
|
|
||||||
libjpeg-dev\
|
|
||||||
libav-tools\
|
|
||||||
libboost-all-dev\
|
|
||||||
libsdl2-dev\
|
|
||||||
python3-dev\
|
|
||||||
python3-opengl\
|
|
||||||
python3-pip\
|
|
||||||
swig\
|
|
||||||
xorg-dev\
|
|
||||||
xvfb\
|
|
||||||
zlib1g-dev &&\
|
|
||||||
apt-get clean &&\
|
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*tmp
|
|
||||||
|
|
||||||
USER main
|
|
||||||
ADD requirements.txt /home/main/
|
|
||||||
|
|
||||||
RUN /usr/bin/pip3 install --upgrade --user pip wheel
|
|
||||||
|
|
||||||
ENV PATH /home/main/.local/bin:$PATH
|
|
||||||
|
|
||||||
# Install scientific packages
|
|
||||||
RUN pip3 install --upgrade --user -r requirements.txt
|
|
||||||
|
|
||||||
# Install OpenAI gym
|
|
||||||
RUN pip3 install --upgrade --user 'gym[all]'
|
|
||||||
|
|
||||||
# Install Jupyter extensions
|
|
||||||
RUN pip3 install --user --upgrade https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tarball/master
|
|
||||||
|
|
||||||
RUN rm -rf /home/main/.cache
|
|
||||||
|
|
||||||
# Jupyter extensions
|
|
||||||
RUN jupyter contrib nbextension install --user
|
|
||||||
RUN jupyter nbextension enable toc2/main
|
|
||||||
|
|
||||||
RUN /home/main/anaconda2/bin/jupyter kernelspec remove -f python3
|
|
||||||
RUN /usr/bin/python3 -m ipykernel install --user
|
|
||||||
|
|
||||||
ADD .binder_start /home/main/
|
|
||||||
|
|
||||||
RUN mkdir -p $HOME/.jupyter
|
|
||||||
RUN echo "c.NotebookApp.token = ''" >> $HOME/.jupyter/jupyter_notebook_config.py
|
|
||||||
RUN echo "c.NotebookApp.password=''" >> $HOME/.jupyter/jupyter_notebook_config.py
|
|
||||||
RUN echo "c.NotebookApp.password_required=False" >> $HOME/.jupyter/jupyter_notebook_config.py
|
|
||||||
|
|
Loading…
Reference in New Issue