build

netbox (latest)

Published 2026-02-17 00:10:37 +01:00 by Gregor

Installation

docker pull git.coly.dev/build/netbox:latest
sha256:115e91fd2e92df51d11144a61a141e02076352c386e662b314d5f0604fecda4a

Images

Digest OS / Arch Size
fffeebbbad linux/amd64 229 MiB
0a7a4d44fd linux/arm64 225 MiB

Image Layers ( linux/arm64)

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:6089c6bede9eca8ec4f424e5798a0ae0712a6fe38c9b97f9afb9d24d9675024e in /
CMD ["/bin/bash"]
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 && 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 docker/super_user.py /opt/netbox/super_user.py # buildkit
COPY configuration/ /etc/netbox/config/ # buildkit
COPY docker/granian.py /opt/netbox/netbox/netbox/granian.py # buildkit
COPY VERSION /opt/netbox/VERSION # buildkit
WORKDIR /opt/netbox/netbox
RUN |1 NETBOX_PATH=.netbox /bin/sh -c useradd --home-dir /opt/netbox/ --no-create-home --no-user-group --system --shell /bin/false --uid 999 --gid 0 netbox && mkdir -p static media local && chown -R netbox:root media reports scripts && chmod -R g+w 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 && 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
COPY configuration/oidc_groups_pipeline.py /opt/netbox/netbox/netbox/oidc_groups_pipeline.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 de1c5120ddf9193613ab5fe985f4b4f441732842
netbox.git-url https://github.com/netbox-community/netbox.git
netbox.last-base-image-layer sha256:a3629ac5b9f4680dc2032439ff2354e73b06aecc2e68f0035a2d7c001c8b4114
netbox.original-tag v4.5.2-4.0.0
org.opencontainers.image.authors The netbox-docker contributors.
org.opencontainers.image.created 2026-02-04T06:02:07+00:00
org.opencontainers.image.description A container based distribution of NetBox, the free and open IPAM and DCIM solution.
org.opencontainers.image.documentation https://github.com/netbox-community/netbox-docker/wiki
org.opencontainers.image.licenses Apache-2.0
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision c60defe0e6e814c3626a36528ad683a5df9b6ecc
org.opencontainers.image.source https://github.com/netbox-community/netbox-docker.git
org.opencontainers.image.title NetBox Docker
org.opencontainers.image.url https://github.com/netbox-community/netbox-docker
org.opencontainers.image.vendor The netbox-docker contributors.
org.opencontainers.image.version 4.0.0
Details
Container
2026-02-17 00:10:37 +01:00
4
OCI / Docker
Versions (5) View all
latest 2026-02-17
v4.5.2-3 2026-02-17
v4.5.2-2 2026-02-17
v4.5.2-1 2026-02-06
v4.5.2 2026-02-06