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

Update Dockerfile

parent dc71812c
No related branches found
No related tags found
No related merge requests found
Pipeline #15165 passed
......@@ -11,15 +11,7 @@ RUN /opt/netbox/venv/bin/pip3 install pip==20.0.2 && \
/opt/netbox/venv/bin/pip3 install . && \
rm -rf /tmp/napalm-onyx
ENV USER=netbox
ENV UID=1000
RUN adduser \
--disabled-password \
--gecos "" \
--ingroup "$USER" \
--uid "$UID" \
"$USER"
RUN adduser --disabled-password --gecos "" --uid "1000" "netbox"
USER netbox
RUN SECRET_KEY="dummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
......
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