Makefile 305 Bytes
Newer Older
zxl's avatar
zxl committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
IMAGE_NAME:=hub.cstcloud.cn/csst/pyscalebox:dev

build:
	docker build --network=host -t $(IMAGE_NAME) .

dist:
	docker save $(IMAGE_NAME) | zstdmt | pv | ssh c0 'zstd -d | docker load'

push:
	docker push $(IMAGE_NAME)
run:
	docker run -it --entrypoint bash $(IMAGE_NAME)
down:
	docker stop $(IMAGE_NAME)