Skip to content

Commit

Permalink
[#50526] examples: build-docker.sh: Update dependencies
Browse files Browse the repository at this point in the history
Adds cv_bridge repository fetching

Fixes shellcheck warnings

Signed-off-by: Illia Vysochyn <[email protected]>
  • Loading branch information
ivysochyn committed Nov 10, 2023
1 parent f831d8a commit 4c21958
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions examples/kenning-instance-segmentation/build-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@

DOCKER_TAG=${DOCKER_TAG:-ghcr.io/antmicro/ros2-gui-node:kenning-ros2-demo}

SCRIPTDIR=$(dirname $(realpath $0))
SCRIPTDIR=$(dirname "$(realpath "$0")")

pushd ${SCRIPTDIR}
pushd "${SCRIPTDIR}" || exit

mkdir -p third-party/

if [ ! -d "third-party/tvm" ]
then
git clone --recursive https://github.com/apache/tvm.git --depth 1 --branch v0.12.0 third-party/tvm
git clone --recursive https://github.com/ros-perception/vision_opencv --branch humble third-party/vision_opencv
fi

docker build . --tag ${DOCKER_TAG}
docker build . --tag "${DOCKER_TAG}"

popd
popd || exit

0 comments on commit 4c21958

Please sign in to comment.