[to #42362932] feat: docker_support

* add dockerfile
* uninstall opencv-python-headless
* update develop doc
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9020302
This commit is contained in:
wenmeng.zwm
2022-06-14 16:29:12 +08:00
parent 8a030ead72
commit 67086e26f9
8 changed files with 175 additions and 0 deletions

View File

@@ -93,3 +93,22 @@ TODO
```bash
make whl
```
## Build docker
build develop docker
```bash
sudo make -f Makefile.docker devel-image
```
push develop docker, passwd pls ask wenmeng.zwm
```bash
sudo docker login --username=mass_test@test.aliyunid.com registry.cn-shanghai.aliyuncs.com
Password:
sudo make -f Makefile.docker devel-push
```
To build runtime image, just replace `devel` with `runtime` in the upper commands.
```bash
udo make -f Makefile.docker runtime-image runtime-push
```