Skip to content

Commit 72e9404

Browse files
committed
ironic-nautobot-client: wheel specific psutil
Without this, the builder phase packs the newest 7.0.0 and the prod stage expects the 6.1.1 and tries to compile it.
1 parent d1cce2f commit 72e9404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

containers/ironic-nautobot-client/Dockerfile.ironic-nautobot-client

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN --mount=type=cache,target=/root/.cache/.pip \
1212
COPY --chown=appuser:appgroup python/understack-workflows /app
1313
COPY --chown=appuser:appgroup python/understack-flavor-matcher /understack-flavor-matcher
1414
# need netifaces built as a wheel
15-
RUN --mount=type=cache,target=/root/.cache/.pip pip wheel --wheel-dir /app/dist netifaces psutil
15+
RUN --mount=type=cache,target=/root/.cache/.pip pip wheel --wheel-dir /app/dist netifaces psutil==6.1.1
1616
# build wheels and requirements.txt, skip hashes due to building of netifaces above which won't match
1717
RUN cd /app && /opt/poetry/bin/poetry build -f wheel && /opt/poetry/bin/poetry export --without-hashes -f requirements.txt -o dist/requirements.txt
1818

0 commit comments

Comments
 (0)