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

Update Dockerfile

parent 3d23cd88
No related branches found
No related tags found
No related merge requests found
Pipeline #14574 failed
...@@ -8,7 +8,7 @@ WORKDIR /tmp ...@@ -8,7 +8,7 @@ WORKDIR /tmp
RUN git clone https://github.com/k01ek/netbox-qrcode.git RUN git clone https://github.com/k01ek/netbox-qrcode.git
WORKDIR /tmp/netbox-qrcode WORKDIR /tmp/netbox-qrcode
COPY setup.py . COPY setup.py .
COPY extra.py /etc/netbox/config/extra.py RUN sed 's/PLUGINS = []/PLUGINS = ['netbox_qrcode']/g' /etc/netbox/config/configuration.py
RUN python3 setup.py install RUN python3 setup.py install
WORKDIR /opt/netbox/netbox WORKDIR /opt/netbox/netbox
RUN rm -rf /tmp/netbox-qrcode 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