From bf74ec9ac48c032ff755ee31748fe12bf4fa9e33 Mon Sep 17 00:00:00 2001 From: John Graham <jjgraham@ucsd.edu> Date: Thu, 18 Feb 2021 19:44:02 -0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5c3448c..91337c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,14 +2,14 @@ FROM netboxcommunity/netbox RUN apk add alpine-sdk git libressl-dev libffi-dev python3-dev libxml2-dev libxslt-dev py3-pillow -#WORKDIR /tmp -#RUN git clone https://github.com/iDebugAll/nextbox-ui-plugin -#WORKDIR /tmp/nextbox-ui-plugin -# /opt/netbox/venv/bin/pip3 install . && \ -#RUN rm -rf /tmp/netbox-qrcode /tmp/nextbox-ui-plugin RUN source /opt/netbox/venv/bin/activate && \ /opt/netbox/venv/bin/pip3 install napalm-dellos10 netbox-qrcode nextbox-ui-plugin +WORKDIR /tmp +RUN git clone https://github.com/napalm-automation-community/napalm-onyx.git +WORKDIR /tmp/napalm-onyx +RUN /opt/netbox/venv/bin/pip3 install . && \ + rm -rf /tmp/napalm-onyx #RUN SECRET_KEY="dummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input -- GitLab