You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
466 B
15 lines
466 B
2 months ago
|
#! /bin/sh
|
||
|
|
||
|
# This script builds docker image of the latest librealsense github tag
|
||
|
# Get the latest git TAG version
|
||
|
LIBRS_GIT_TAG=`git describe --abbrev=0 --tags`
|
||
|
LIBRS_VERSION=${LIBRS_GIT_TAG#"v"}
|
||
|
|
||
|
echo "Building images for librealsense version ${LIBRS_VERSION}"
|
||
|
docker build \
|
||
|
--target librealsense \
|
||
|
--build-arg LIBRS_VERSION=$LIBRS_VERSION \
|
||
|
--tag librealsense \
|
||
|
--tag librealsense --tag librealsense:$LIBRS_GIT_TAG \
|
||
|
.
|