We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0d6953 commit 56806f8Copy full SHA for 56806f8
Dockerfile.redhat
@@ -429,5 +429,14 @@ COPY --from=pkg /usr/local/lib64/python3.*/site-packages/MarkupSafe-3.0.2.dist-i
429
COPY --from=pkg /usr/local/lib64/python3.*/site-packages/markupsafe /ovms/python_deps/markupsafe
430
431
COPY --from=pkg /licenses /licenses
432
+
433
+# Setup Python Demos Environment
434
+COPY demos/python_demos/requirements.txt .
435
+RUN if [ -f /usr/bin/dnf ] ; then export DNF_TOOL=dnf ; \
436
+ else export DNF_TOOL=microdnf ; fi ; \
437
+ $DNF_TOOL install -y python3-pip git iproute net-tools ; $DNF_TOOL clean all ; \
438
+ pip3 install --no-cache-dir -r requirements.txt ; \
439
+ rm -f requirements.txt
440
441
USER ovms
442
ENTRYPOINT ["/ovms/bin/ovms"]
0 commit comments