Block a user
kellen/netbox-container (release)
Published 2025-10-04 13:19:21 +00:00 by kellen
Installation
docker pull git.bluequartz.xyz/kellen/kellen/netbox-container:releasesha256:124f3cf441e08ee48f7408d411d15f8f914f43e828148ffdde1c021848098c3dImage Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:d9cb8116905a82675c3c2cbb4782e50ef8cacfc16be3654bc070281a3c8ce646 in / |
| CMD ["/bin/bash"] |
| COPY docker/unit.list /etc/apt/sources.list.d/unit.list # buildkit |
| ADD --chown=0:0 --chmod=444 https://unit.nginx.org/keys/nginx-keyring.gpg /usr/share/keyrings/nginx-keyring.gpg # buildkit |
| RUN /bin/sh -c export DEBIAN_FRONTEND=noninteractive && apt-get update -qq && apt-get upgrade --yes -qq --no-install-recommends && apt-get install --yes -qq --no-install-recommends bzip2 ca-certificates curl libldap-common libpq5 libxmlsec1-openssl openssh-client openssl python3 tini unit-python3.12=1.34.2-1~noble unit=1.34.2-1~noble && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY /requirements.txt /requirements-container.txt /opt/netbox/ # buildkit |
| COPY /usr/local/bin/uv /usr/local/bin/ # buildkit |
| COPY /opt/netbox/venv /opt/netbox/venv # buildkit |
| ARG NETBOX_PATH=.netbox |
| COPY .netbox /opt/netbox # buildkit |
| COPY docker/configuration.docker.py /opt/netbox/netbox/netbox/configuration.py # buildkit |
| COPY docker/ldap_config.docker.py /opt/netbox/netbox/netbox/ldap_config.py # buildkit |
| COPY docker/docker-entrypoint.sh /opt/netbox/docker-entrypoint.sh # buildkit |
| COPY docker/launch-netbox.sh /opt/netbox/launch-netbox.sh # buildkit |
| COPY configuration/ /etc/netbox/config/ # buildkit |
| COPY docker/nginx-unit.json /etc/unit/ # buildkit |
| COPY VERSION /opt/netbox/VERSION # buildkit |
| WORKDIR /opt/netbox/netbox |
| RUN |1 NETBOX_PATH=.netbox /bin/sh -c mkdir -p static media /opt/unit/state/ /opt/unit/tmp/ && chown -R unit:root /opt/unit/ media reports scripts && chmod -R g+w /opt/unit/ media reports scripts && cd /opt/netbox/ && SECRET_KEY="dummyKeyWithMinimumLength-------------------------" /opt/netbox/venv/bin/python -m mkdocs build --config-file /opt/netbox/mkdocs.yml --site-dir /opt/netbox/netbox/project-static/docs/ && DEBUG="true" SECRET_KEY="dummyKeyWithMinimumLength-------------------------" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input && mkdir /opt/netbox/netbox/local && echo "build: Docker-$(cat /opt/netbox/VERSION)" > /opt/netbox/netbox/local/release.yaml # buildkit |
| ENV LANG=C.utf8 PATH=/opt/netbox/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin VIRTUAL_ENV=/opt/netbox/venv UV_NO_CACHE=1 |
| ENTRYPOINT ["/usr/bin/tini" "--"] |
| CMD ["/opt/netbox/docker-entrypoint.sh" "/opt/netbox/launch-netbox.sh"] |
| LABEL netbox.original-tag= netbox.git-branch= netbox.git-ref= netbox.git-url= org.opencontainers.image.created= org.opencontainers.image.title=NetBox Docker org.opencontainers.image.description=A container based distribution of NetBox, the free and open IPAM and DCIM solution. org.opencontainers.image.licenses=Apache-2.0 org.opencontainers.image.authors=The netbox-docker contributors. org.opencontainers.image.vendor=The netbox-docker contributors. org.opencontainers.image.url=https://github.com/netbox-community/netbox-docker org.opencontainers.image.documentation=https://github.com/netbox-community/netbox-docker/wiki org.opencontainers.image.source=https://github.com/netbox-community/netbox-docker.git org.opencontainers.image.revision= org.opencontainers.image.version= |
| COPY ./plugin_requirements.txt /opt/netbox/ # buildkit |
| RUN /bin/sh -c /usr/local/bin/uv pip install -r /opt/netbox/plugin_requirements.txt # buildkit |
| COPY configuration/configuration.py /etc/netbox/config/configuration.py # buildkit |
| COPY configuration/plugins.py /etc/netbox/config/plugins.py # buildkit |
| RUN /bin/sh -c DEBUG="true" SECRET_KEY="dummydummydummydummydummydummydummydummydummydummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input # buildkit |
Labels
| Key | Value |
|---|---|
| netbox.build-reason | ubuntu |
| netbox.git-branch | HEAD |
| netbox.git-ref | 5a96b76cd49db021a5200e1989939805fc579dcb |
| netbox.git-url | https://github.com/netbox-community/netbox.git |
| netbox.last-base-image-layer | sha256:a1a21c96bc16121569dd937bcd1c745a5081629b3b08a664446602ded91e10a4 |
| netbox.original-tag | v4.4.2-3.4.1 |
| org.opencontainers.image.authors | The netbox-docker contributors. |
| org.opencontainers.image.created | 2025-10-04T13:19:13.651Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.documentation | https://github.com/netbox-community/netbox-docker/wiki |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.revision | 9728508bf917b373c2b415645c78a9263b038df1 |
| org.opencontainers.image.source | https://git.bluequartz.xyz/kellen/netbox-container |
| org.opencontainers.image.title | netbox-container |
| org.opencontainers.image.url | https://git.bluequartz.xyz/kellen/netbox-container |
| org.opencontainers.image.vendor | The netbox-docker contributors. |
| org.opencontainers.image.version | release |