netbox (latest-plugins)
Published 2 years ago by stefan
Installation
docker pull gitea.marold-it.de/stefan/netbox:latest-pluginsAbout this package
A container based distribution of NetBox, the free and open IPAM and DCIM solution.
Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=23.04 |
| ADD file:d4fca0b2b53fa4e2c3e0d721bf983f4095061c5df5fb084d2daf5efad5ee663d 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 python3-distutils tini && curl --silent --output /usr/share/keyrings/nginx-keyring.gpg https://unit.nginx.org/keys/nginx-keyring.gpg && echo "deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ lunar unit" > /etc/apt/sources.list.d/unit.list && apt-get update -qq && apt-get install --yes -qq --no-install-recommends unit=1.30.0-1~lunar unit-python3.11=1.30.0-1~lunar && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY /opt/netbox/venv /opt/netbox/venv # buildkit |
| ARG NETBOX_PATH |
| COPY .netbox /opt/netbox # buildkit |
| COPY /requirements.txt /requirements-container.txt /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/housekeeping.sh /opt/netbox/housekeeping.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 |
| WORKDIR /opt/netbox/netbox |
| RUN |1 NETBOX_PATH=.netbox /bin/sh -c mkdir -p static /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/ && SECRET_KEY="dummyKeyWithMinimumLength-------------------------" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input # buildkit |
| ENV LANG=C.utf8 PATH=/opt/netbox/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| 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 /opt/netbox/venv/bin/pip install --no-warn-script-location -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 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 | d195f9c6ea635f0603773715e2566d2a41d49597 |
| netbox.git-url | https://github.com/netbox-community/netbox.git |
| netbox.last-base-image-layer | sha256:f93f952dad401041cbf7200ea1438a832b72273179a2d36e029ccfda15d49507 |
| netbox.original-tag | v3.6.4-2.7.0 |
| org.opencontainers.image.authors | The netbox-docker contributors. |
| org.opencontainers.image.created | 2023-10-19T06:04+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 | b47e85ab3f2261021adf99ae9de2e9692fd674c3 |
| 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 | 2.7.0 |