Makefile 328 Bytes
Newer Older
zxl's avatar
zxl committed
1
2
3
4
5
6
7
8
9
10
11
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:
zxl's avatar
zxl committed
12
	docker run -e CSST_ADML2_JOB_ID=3 -it --entrypoint bash $(IMAGE_NAME)
zxl's avatar
zxl committed
13
14
down:
	docker stop $(IMAGE_NAME)