File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ RUN zypper install -y \
1111 zypper clean -a
1212 # libffi-devel-gcc5 libopenssl-devel xmlsec1-openssl-devel \
1313
14- # Setup the ansible .
14+ # Make the Ansible 2.0+ .
1515RUN zypper install -y \
1616 rpm-build make asciidoc git python-setuptools python-devel \
1717 python-Jinja2 python-httplib2 python-keyczar python-six python-paramiko python-yaml sshpass
@@ -25,10 +25,12 @@ RUN /bin/echo -e "[local]\nlocalhost ansible_connection=local" > /etc/ansible/ho
2525# Upgrade the pip to lastest.
2626RUN pip install -U pip
2727
28- # Setup with Ansible.
29- # ADD https://raw.githubusercontent.com/chusiang/ansible-jupyter.dockerfile/master/setup_jupyter.yml /home
30- ADD setup_jupyter.yml /home
31- RUN ansible-playbook -vvvv /home/setup_jupyter.yml
28+ # Setup with Anaconda2.
29+ # ADD https://repo.continuum.io/archive/Anaconda2-4.2.0-Linux-x86_64.sh
30+ COPY Anaconda2-4.2.0-Linux-x86_64.sh /home
31+ RUN bash /home/Anaconda2-4.2.0-Linux-x86_64.sh -b -f -p /opt/anaconda2 && \
32+ rm -f /home/Anaconda2-4.2.0-Linux-x86_64.sh && \
33+ echo "PATH=$PATH:/opt/anaconda2/bin/:/opt/anaconda2/sbin/" > ~/.bashrc
3234
3335# Copy a ipython notebook example to image.
3436ADD https://raw.githubusercontent.com/chusiang/ansible-jupyter.dockerfile/master/ipynb/ansible_on_jupyter.ipynb /home/
You can’t perform that action at this time.
0 commit comments