FROM netboxcommunity/netbox 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 WORKDIR /tmp/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