forked from benclaussen/NetboxPS
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile.branching
More file actions
25 lines (22 loc) · 1011 Bytes
/
Dockerfile.branching
File metadata and controls
25 lines (22 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Dockerfile.branching
# ====================
# Custom Netbox Docker image with netbox-branching plugin
#
# This file extends the official Netbox Docker image to add the
# netbox-branching plugin from NetboxLabs for CI integration testing.
#
# Usage:
# docker build --build-arg NETBOX_VERSION=v4.5.2-4.0.0 \
# --build-arg BRANCHING_VERSION=0.8.0 \
# -f Dockerfile.branching -t netbox-branching .
#
# Compatibility Matrix:
# - Netbox 4.5.x: branching 0.7.4+ or 0.8.0 (netbox-docker 4.0.0)
# - Netbox 4.4.x: branching 0.7.2, 0.7.3, 0.7.4, 0.8.0 (netbox-docker 3.x)
# - Netbox 4.3.x: branching 0.5.7, 0.6.0, 0.6.1, 0.6.2 (netbox-docker 3.x)
ARG NETBOX_VERSION=v4.5.2-4.0.0
FROM netboxcommunity/netbox:${NETBOX_VERSION}
# Branching plugin version - must match Netbox version per compatibility matrix
ARG BRANCHING_VERSION=0.8.0
# Install the branching plugin using uv (Netbox Docker uses uv for packages)
RUN uv pip install netboxlabs-netbox-branching==${BRANCHING_VERSION}