+3
-3
@@ -1,4 +1,4 @@
|
||||
ARG PYTHON_VERSION=3.10
|
||||
ARG PYTHON_VERSION=3.11
|
||||
FROM python:${PYTHON_VERSION}-alpine AS compile-image
|
||||
|
||||
WORKDIR /build
|
||||
@@ -11,7 +11,7 @@ RUN pip install -U .[build]
|
||||
RUN python -m build
|
||||
RUN pip install --no-index /build
|
||||
|
||||
FROM netboxcommunity/netbox:v3.7.2
|
||||
FROM netboxcommunity/netbox:v4.0.6
|
||||
|
||||
ARG PYTHON_VERSION=3.10
|
||||
ARG PYTHON_VERSION=3.11
|
||||
COPY --from=compile-image /opt/netbox/venv/lib/python${PYTHON_VERSION}/site-packages/netbox_slm /opt/netbox/venv/lib/python${PYTHON_VERSION}/site-packages/netbox_slm
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM netboxcommunity/netbox:v3.7.2
|
||||
FROM netboxcommunity/netbox:v4.0.6
|
||||
|
||||
RUN mkdir /ci && chmod go+w /ci
|
||||
COPY ../ci/requirements_ci.txt /ci/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
version: '3.7'
|
||||
---
|
||||
services:
|
||||
netbox:
|
||||
ports:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
version: '3.7'
|
||||
---
|
||||
services:
|
||||
netbox: &netbox
|
||||
image: netboxcommunity/netbox:${VERSION-v3.7.2}
|
||||
image: netboxcommunity/netbox:${VERSION-v4.0.6}
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
coverage==7.2.2
|
||||
coverage==7.5.4
|
||||
unittest-xml-reporting==3.2.0
|
||||
|
||||
Reference in New Issue
Block a user