Skip to content

Commit

Permalink
adding some comments to explain our unusual build_image.bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
M1chaelM committed Aug 14, 2023
1 parent d49d54c commit d65ff85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vrx_server/build_image.bash
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ then
exit 1
fi

# Use rocker to build a localized base image
ROCKER_ARGS="--dev-helpers --devices $JOY --nvidia --x11 --user --user-override-name=developer --image-name $local_base_name"
rocker ${ROCKER_ARGS} npslearninglab/watery_robots:vrx_base "echo -e '${GREEN}Created $local_base_name.${NOCOLOR}\n'"

CONTAINER_NAME="vrx-server-system"

# Build image
# Use Docker / Dockerfile to build server from localized base image
echo "Building image: <${image_name}> from <$local_base_name>"
set -x
image_plus_tag=${image_name}:$(export LC_ALL=C; date +%Y_%m_%d_%H%M)
Expand Down

0 comments on commit d65ff85

Please sign in to comment.