diff --git a/docker_images/rae/builtin_app/Dockerfile b/docker_images/rae/builtin_app/Dockerfile index 9eefbf1..e3f73bb 100644 --- a/docker_images/rae/builtin_app/Dockerfile +++ b/docker_images/rae/builtin_app/Dockerfile @@ -52,6 +52,9 @@ RUN find /usr -depth \ -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ \) -exec rm -rf '{}' + +RUN pip3 install --no-deps --no-cache-dir robothub-oak && \ + pip3 install --no-deps --no-cache-dir git+https://github.com/luxonis/depthai.git@rvc3_develop#subdirectory=depthai_sdk + RUN apt-get purge -y --auto-remove \ build-essential \ cmake \ @@ -66,4 +69,4 @@ FROM base # Squash the image to save on space COPY --from=build /opt/depthai /lib COPY --from=build /tmp/libusb-1.0.so /lib/libusb-1.0.so -COPY --from=build /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages \ No newline at end of file +COPY --from=build /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages diff --git a/docker_images/rae/provisioning_app/Dockerfile b/docker_images/rae/provisioning_app/Dockerfile index f7b0b33..d067c3d 100644 --- a/docker_images/rae/provisioning_app/Dockerfile +++ b/docker_images/rae/provisioning_app/Dockerfile @@ -68,4 +68,4 @@ FROM base # Squash the image to save on space COPY --from=build /opt/depthai /lib COPY --from=build /tmp/libusb-1.0.so /lib/libusb-1.0.so -COPY --from=build /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages \ No newline at end of file +COPY --from=build /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages diff --git a/scripts/build-rvc3-image.sh b/scripts/build-rvc3-image.sh index 13c35a9..134394f 100755 --- a/scripts/build-rvc3-image.sh +++ b/scripts/build-rvc3-image.sh @@ -80,6 +80,8 @@ DOCKER_BUILDKIT=1 docker buildx \ echo "================================" echo "Building RAE..." echo "=> ${RAE_PROV_TAG}" +echo "================================" + DOCKER_BUILDKIT=1 docker buildx \ build \ --builder remotebuilder \ @@ -97,7 +99,9 @@ DOCKER_BUILDKIT=1 docker buildx \ --file ./docker_images/rae/provisioning_app/Dockerfile \ ./ -echo "=> ${RAE_PROV_TAG}" +echo "================================" +echo "Building RAE..." +echo "=> ${RAE_BUILTIN_TAG}" echo "================================" DOCKER_BUILDKIT=1 docker buildx \ @@ -111,7 +115,7 @@ DOCKER_BUILDKIT=1 docker buildx \ --label "org.opencontainers.image.vendor=Luxonis" \ --label "org.opencontainers.image.title=RobotHub RAE builtin app image" \ --label "org.opencontainers.image.description=Based on: Ubuntu\nDepthAI branch: ${DEPTHAI_BRANCH}\nDepthAI version: ${DEPTHAI_VERSION}" \ - -t "${RAE_PROV_TAG}" \ + -t "${RAE_BUILTIN_TAG}" \ --push \ --provenance=false \ --file ./docker_images/rae/builtin_app/Dockerfile \