Skip to content

Commit

Permalink
Create build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubramanian authored Jul 24, 2024
1 parent 413e961 commit c49f33c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
export DOCKER_BUILDKIT=1

export DOCKER_CLI_EXPERIMENTAL=enabled

# Change to the script's root directory location
cd ${ROOT_LOC}

# Build the images in dependence order
while [ $# -ge 1 ]; do
if [ "$1" == "scout" ]; then
docker build \
--compress \
-t wildme/scout:latest \
--no-cache
else
echo "Image $1 not found"
exit 1
fi
shift
done

0 comments on commit c49f33c

Please sign in to comment.