Skip to content

Commit

Permalink
if sim
Browse files Browse the repository at this point in the history
  • Loading branch information
Serafadam committed Nov 21, 2023
1 parent f5f068a commit 1deae88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FROM ros:${ROS_DISTRO}-ros-core

ARG CORE_NUM=10
ARG BUILD_TYPE="RelWithDebInfo"

ARG SIM=0
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get -y install --no-install-recommends \
Expand Down Expand Up @@ -53,7 +53,7 @@ RUN echo "if [ -f ${WS}/install/setup.bash ]; then source ${WS}/install/setup.ba

COPY ./requirements.txt .$WS/src/requirements.txt
COPY ./depthai-2.22.0.0.dev0+19c262d4bc45f69cf75031933e6eda7037b5d497-cp310-cp310-linux_aarch64.whl .$WS/src/depthai-2.22.0.0.dev0+19c262d4bc45f69cf75031933e6eda7037b5d497-cp310-cp310-linux_aarch64.whl
RUN python3 -m pip install .$WS/src/depthai-2.22.0.0.dev0+19c262d4bc45f69cf75031933e6eda7037b5d497-cp310-cp310-linux_aarch64.whl
RUN if [ "$SIM" = "0" ] ; then python3 -m pip install .$WS/src/depthai-2.22.0.0.dev0+19c262d4bc45f69cf75031933e6eda7037b5d497-cp310-cp310-linux_aarch64.whl ; fi
RUN echo "export LD_LIBRARY_PATH=/usr/local/lib/python3.10/dist-packages${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" >> $HOME/.bashrc
RUN chmod +x /ws/src/rae/entrypoint.sh

Expand Down

0 comments on commit 1deae88

Please sign in to comment.