File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM python:3.13 -slim AS builder
1+ FROM python:3.14 -slim AS builder
22
33COPY requirements.txt .
44
55ARG VENV=/opt/netbox-sync/venv
66
77# Install dependencies
8- RUN apt-get update && apt-get install -y --no-install-recommends git gcc libc-dev && \
8+ RUN apt-get update && \
99 rm -rf /var/lib/apt/lists/* && \
1010 python3 -m venv $VENV && \
1111 $VENV/bin/python3 -m pip install --upgrade pip && \
1212 $VENV/bin/pip install -r requirements.txt && \
13- $VENV/bin/pip install --upgrade git+https://github.com/vmware/vsphere-automation- sdk-python.git && \
13+ $VENV/bin/pip install --upgrade vcf- sdk && \
1414 find $VENV -type d -name "__pycache__" -print0 | xargs -0 -n1 rm -rf
1515
16- FROM python:3.13 -slim AS netbox-sync
16+ FROM python:3.14 -slim AS netbox-sync
1717
1818ARG VENV=/opt/netbox-sync/venv
1919
Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ pip3 install -r requirements.txt || pip install -r requirements.txt
6767```
6868
6969### VMware tag sync (if necessary)
70- The ` vsphere-automation -sdk` must be installed if tags should be synced from vCenter to NetBox
70+ The ` vcf -sdk` must be installed if tags should be synced from vCenter to NetBox
7171* assuming we are still in an activated virtual env
7272``` shell
73- pip install --upgrade git+https://github.com/vmware/vsphere-automation- sdk-python.git
73+ pip install --upgrade vcf- sdk
7474```
7575
7676## NetBox API token
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ license-files = ["LICENSE.txt"]
1111requires-python = " >=3.13"
1212dependencies = [
1313 " aiodns>=4.0.0" ,
14+ " hcloud>=2.20.0" ,
1415 " packaging>=26.2" ,
1516 " pyvmomi==9.1.0.0" ,
1617 " pyyaml>=6.0.3" ,
Original file line number Diff line number Diff line change @@ -2,15 +2,16 @@ aiodns==4.0.0
22certifi == 2026.1.4
33cffi == 2.0.0
44charset-normalizer == 3.4.4
5+ hcloud == 2.20.0
56idna == 3.11
67packaging == 26.2
78pycares == 5.0.1
89pycparser == 3.0
10+ python-dateutil == 2.9.0.post0
911pyvmomi == 9.1.0.0
1012pyyaml == 6.0.3
1113requests == 2.34.1
1214setuptools == 82.0.1
1315six == 1.17.0
14- urllib3 == 2.6.3
15- wheel == 0.47.0
16- hcloud == 2.17.0
16+ urllib3 == 2.7.0
17+ wheel == 0.47.0
You can’t perform that action at this time.
0 commit comments