Skip to content

Commit

Permalink
♻️ Refactor for Ubuntu based base image (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
nomaster authored Sep 3, 2022
1 parent cee07eb commit 40bb3e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM netboxcommunity/netbox:v3.3.2

COPY configuration.py /etc/netbox/config/configuration.py
RUN apk add --no-cache --virtual .build-deps gcc musl-dev
RUN apt update && apt install -y build-essential
RUN /opt/netbox/venv/bin/pip install --no-cache-dir netbox-secretstore
RUN apk del .build-deps gcc musl-dev
RUN apt purge -y build-essential
RUN SECRET_KEY="dummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input

0 comments on commit 40bb3e3

Please sign in to comment.