FROM netboxcommunity/netbox ENV NAPALM_USERNAME netbox-napalm ENV NAPALM_PASSWORD vernor1607 RUN apk add alpine-sdk git libressl-dev libffi-dev python3-dev libxml2-dev libxslt-dev py3-pillow && \ source /opt/netbox/venv/bin/activate && /opt/netbox/venv/bin/pip3 install napalm-dellos10 WORKDIR /tmp RUN git clone https://github.com/k01ek/netbox-qrcode.git WORKDIR /tmp/netbox-qrcode COPY setup.py . RUN source /opt/netbox/venv/bin/activate && /opt/netbox/venv/bin/python3 setup.py install WORKDIR /tmp RUN git clone https://github.com/iDebugAll/nextbox-ui-plugin WORKDIR /tmp/nextbox-ui-plugin RUN source /opt/netbox/venv/bin/activate && /opt/netbox/venv/bin/pip3 install . RUN rm -rf /tmp/netbox-qrcode /tmp/nextbox-ui-plugin WORKDIR /opt/netbox/netbox