From 20cbf6e73f11ecefe7a099d86f2583995f0e1478 Mon Sep 17 00:00:00 2001 From: Mircea Ulinic Date: Tue, 2 Oct 2018 17:23:07 +0100 Subject: [PATCH] Add NAPALM Dockerfile (#770) --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..4d69b064f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM debian:stretch + +## Install min deps +RUN apt-get update + +COPY ./ /var/cache/napalm/ + +## Install NAPALM & underlying libraries dependencies +RUN apt-get install -y python-cffi python-dev libxslt1-dev libssl-dev libffi-dev \ + && apt-get install -y python-pip \ + && pip install -U cffi \ + && pip install -U cryptography \ + && pip install /var/cache/napalm/ + +RUN rm -rf /var/lib/apt/lists/*