2
0

build-docker-img-agent.sh 257 B

12345678910
  1. if [ "$#" == "0" ]; then
  2. echo "Usage: sh $0 TAG"
  3. echo "\tTAG: 1.2.3"
  4. exit 1
  5. fi
  6. TAG="$1"
  7. echo "BUILD TAG: $TAG"
  8. docker build -t igeeky/wolf-agent:$TAG -f ./agent/Dockerfile ./agent
  9. docker build -t igeeky/wolf-agent:latest -f ./agent/Dockerfile ./agent