From ee9e617fad314be19ee54fd9dd1e07e5ca73146a Mon Sep 17 00:00:00 2001
From: John Graham <jjgraham@ucsd.edu>
Date: Thu, 28 Jan 2021 20:14:12 -0800
Subject: [PATCH] Update Dockerfile

---
 Dockerfile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index cf8c1a1..332cb9b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,9 @@ ENV NAPALM_USERNAME netbox-napalm
 
 #RUN python3 -m pip install pip==19.3.1
 RUN apk add git zlib && pip3 install --upgrade napalm cffi napalm-dellos10 
-#RUN apk add py3-pillow
-RUN pip3 install qrcode
-RUN pip3 install netbox-qrcode
+RUN apk add py3-pillow
+RUN git clone https://github.com/k01ek/netbox-qrcode.git && \
+    cd netbox-qrcode
+COPY setup.py .
+RUN python3 install setup.py
 RUN echo "PLUGINS = ['netbox_qrcode']" >> /etc/netbox/config/configuration.py
-- 
GitLab