Fixed install sequence

This commit is contained in:
adosztal 2017-07-19 20:14:33 +02:00
parent f98acfb451
commit def2b67069

View File

@ -2,10 +2,12 @@
FROM ubuntu:xenial
RUN DEBIAN_FRONTEND=noninteractive apt-add-repository -y ppa:ansible/ansible && apt-get update && \
apt-get -y --no-install-recommends install telnet curl openssh-client nano vim-tiny \
iputils-ping python build-essential libssl-dev libffi-dev python-pip python-setuptools \
python-dev net-tools ansible python3 software-properties-common \
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-recommends \
install telnet curl openssh-client nano vim-tiny iputils-ping python build-essential \
libssl-dev libffi-dev python-pip python-setuptools \
python-dev net-tools python3 software-properties-common \
&& apt-add-repository -y ppa:ansible/ansible \
&& apt-get update && apt-get -y --no-install-recommends ansible \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --upgrade pip \
&& pip install cryptography netmiko napalm pyntc