Skip to content
Snippets Groups Projects
Commit 8c275eba authored by John Graham's avatar John Graham
Browse files

Update Dockerfile

parent f49ae8c9
No related branches found
No related tags found
No related merge requests found
Pipeline #14564 failed
...@@ -4,8 +4,11 @@ ENV NAPALM_USERNAME netbox-napalm ...@@ -4,8 +4,11 @@ ENV NAPALM_USERNAME netbox-napalm
#RUN python3 -m pip install pip==19.3.1 #RUN python3 -m pip install pip==19.3.1
RUN apk add git zlib && pip3 install --upgrade napalm cffi napalm-dellos10 RUN apk add git zlib && pip3 install --upgrade napalm cffi napalm-dellos10
RUN apk add py3-pillow RUN apk add py3-pillow
WORKDIR /tmp
RUN git clone https://github.com/k01ek/netbox-qrcode.git RUN git clone https://github.com/k01ek/netbox-qrcode.git
RUN cd netbox-qrcode RUN cd netbox-qrcode
COPY setup.py . COPY setup.py .
RUN pwd && ls -al && python3 setup.py install RUN pwd && ls -al && python3 setup.py install
RUN echo "PLUGINS = ['netbox_qrcode']" >> /etc/netbox/config/configuration.py RUN echo "PLUGINS = ['netbox_qrcode']" >> /etc/netbox/config/configuration.py
WORKDIR /opt/netbox/netbox
RUN rm -rf /tmp/netbox-qrcode
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment