Files
gen_data_curobo/docker/build_user_docker.sh
2023-11-30 09:59:53 -08:00

15 lines
679 B
Bash
Executable File

##
## Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
##
## NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
## property and proprietary rights in and to this material, related
## documentation and any modifications thereto. Any use, reproduction,
## disclosure or distribution of this material and related documentation
## without an express license agreement from NVIDIA CORPORATION or
## its affiliates is strictly prohibited.
##
echo $1
USER_ID=$(id -g "$USER")
docker build --build-arg USERNAME="$USER" --no-cache --build-arg USER_ID="$USER_ID" --build-arg IMAGE_TAG="$1" -f user.dockerfile --tag curobo_docker:user_"$1" .