github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/deploy/prod/docker/single/Makefile (about) 1 # 2 # Usage: 3 # $ IMAGE_TAG=latest make -e all 4 # $ IMAGE_REPO=aistorage/cluster-minimal IMAGE_TAG=4.0 make -e all 5 # 6 7 REGISTRY_URL ?= docker.io 8 IMAGE_REPO=aistorage/cluster-minimal 9 IMAGE_TAG=.must_set_in_environment 10 AISTORE_PATH=$(shell git rev-parse --show-toplevel) 11 12 all: build push 13 14 build: 15 cp ${AISTORE_PATH}/deploy/dev/local/aisnode_config.sh . 16 cp ${AISTORE_PATH}/deploy/conf/limits.conf . 17 18 docker build -t $(REGISTRY_URL)/$(IMAGE_REPO):$(IMAGE_TAG) -f Dockerfile . || rm -f aisnode_config.sh limits.conf 19 20 rm -f aisnode_config.sh limits.conf 21 22 push: 23 docker push $(REGISTRY_URL)/$(IMAGE_REPO):$(IMAGE_TAG)