Skip to content

Commit

Permalink
Removed the -f flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjay Jayalakshmi Prabakar committed Sep 12, 2024
1 parent 94efdb1 commit a2246cf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CADRE_demo/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ echo "##### Building Space ROS Demo Docker Image #####"
echo ""

# get the folder of the script
# DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# DOKCERDIR="$DIR/Dockerfile"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

docker build -t $ORG/$IMAGE:$TAG \
--build-arg VCS_REF="$VCS_REF" \
--build-arg VERSION="$VERSION" $DIR \
-f $DOKCERDIR
--build-arg VERSION="$VERSION" \
$DIR # Dockerfile is in the current directory, no need for -f

echo ""
echo "##### Done! #####"

0 comments on commit a2246cf

Please sign in to comment.