Skip to content

Commit

Permalink
Hotfix requirements for builtin apps and rae provisioning app
Browse files Browse the repository at this point in the history
  • Loading branch information
geektrove committed Oct 2, 2023
1 parent 681927f commit eb299cb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions context/requirements-builtin-app.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
numpy==1.26.0
2 changes: 2 additions & 0 deletions context/requirements-rae-provisioning-app.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
numpy==1.26.0
opencv-contrib-python-headless==4.8.1.78
4 changes: 4 additions & 0 deletions dockerfiles/custom/builtin-app.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ RUN /tmp/download-patched-libusb ${TARGETARCH}
COPY install-depthai-version /usr/local/bin
RUN install-depthai-version ${DEPTHAI_VERSION}

# Install python3 packages
COPY requirements-builtin-app.txt /tmp/
RUN pip3 install --no-cache-dir --only-binary=:all: -r /tmp/requirements-builtin-app.txt

FROM base

# Copy python3 packages
Expand Down
3 changes: 2 additions & 1 deletion dockerfiles/custom/rae-provisioning-app.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ COPY install-depthai-version /usr/local/bin
RUN install-depthai-version ${DEPTHAI_VERSION}

# Install python3 packages
RUN pip3 install --no-cache-dir --only-binary=:all: opencv-contrib-python-headless
COPY requirements-rae-provisioning-app.txt /tmp/
RUN pip3 install --no-cache-dir --only-binary=:all: -r /tmp/requirements-rae-provisioning-app.txt

FROM base

Expand Down

0 comments on commit eb299cb

Please sign in to comment.