- build_date = `date +%Y%m%d%H%M`
- version = `git rev-parse --short HEAD`
- image-dev = SXKJ:32775/yili-dag-frontend:$(build_date)
- .PHONY: dev
- dev:
- @docker build . \
- -t $(image-dev) \
- -f Dockerfile
- idctest:
- @docker build . -t registry.cn-hangzhou.aliyuncs.com/sxtest/dag-frontend:idctest -f Dockerfile.idctest
- @docker push registry.cn-hangzhou.aliyuncs.com/sxtest/dag-frontend:idctest
|