github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/deploy/dev/k8s/utils/build_aisnode.sh (about)

     1  export MODE="debug"  
     2  DOCKER_IMAGE="aistorage/aisnode-minikube"
     3  IMAGE_TAG="latest"
     4  
     5  echo "Building image with mode=${MODE}..."
     6  docker build ./../../../ --force-rm --no-cache -t ${REGISTRY_URL}/${DOCKER_IMAGE}:${IMAGE_TAG} --build-arg MODE="${MODE}" -f Dockerfile
     7  echo "Pushing to ${REGISTRY_URL}/${DOCKER_IMAGE}:${IMAGE_TAG}"
     8  docker push ${REGISTRY_URL}/${DOCKER_IMAGE}:${IMAGE_TAG}