From 8c275ebad5ec803d17a13230282632f90902e762 Mon Sep 17 00:00:00 2001 From: John Graham <jjgraham@ucsd.edu> Date: Thu, 28 Jan 2021 20:22:17 -0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index a28e9a0..37ab807 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,11 @@ 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 +WORKDIR /tmp RUN git clone https://github.com/k01ek/netbox-qrcode.git RUN cd netbox-qrcode COPY setup.py . RUN pwd && ls -al && python3 setup.py install RUN echo "PLUGINS = ['netbox_qrcode']" >> /etc/netbox/config/configuration.py +WORKDIR /opt/netbox/netbox +RUN rm -rf /tmp/netbox-qrcode -- GitLab