提交 afc3d85d 编写于 作者: H Huihuang Zheng 提交者: chengduo

Remove Docker build for CI tasks (#17650)

* Add Dockerfile for cuda9 and cuda10
上级 bbd6e438
......@@ -112,7 +112,8 @@ We also release a script and Dockerfile for building PaddlePaddle docker images
across different cuda versions. To build these docker images, run:
```bash
REPO=[your_repo_name] bash ./build_docker_images.sh
bash ./build_docker_images.sh
docker build -t [REPO]/paddle:tag -f [generated_docker_file] .
```
- NOTE: note that you can choose different base images for your environment, you can find all the versions [here](https://hub.docker.com/r/nvidia/cuda/).
......
......@@ -6,9 +6,9 @@ REPO="${REPO:-paddlepaddle}"
sed 's/<baseimg>/9.0-cudnn7-devel-ubuntu16.04/g' Dockerfile.tmp |
sed 's/<tensor_rt_version>/5.1_ga_cuda9_cudnnv7.5/g' |
sed 's/<nccl_version>/2.4.7-1+cuda9.0/g' > Dockerfile.cuda9.0-cudnn7
docker build -t ${REPO}/paddle:cuda9.0-cudnn7-devel-ubuntu16.04 -f Dockerfile.cuda9.0-cudnn7 .
# docker build -t ${REPO}/paddle:cuda9.0-cudnn7-devel-ubuntu16.04 -f Dockerfile.cuda9.0-cudnn7 .
sed 's/<baseimg>/10.0-cudnn7-devel-ubuntu16.04/g' Dockerfile.tmp |
sed 's/<tensor_rt_version>/5.1_ga_cuda10_cudnnv7.5/g' |
sed 's/<nccl_version>/2.4.7-1+cuda10.0/g' > Dockerfile.cuda10.0-cudnn7
docker build -t ${REPO}/paddle:cuda10.0-cudnn7-devel-ubuntu16.04 -f Dockerfile.cuda10.0-cudnn7 .
# docker build -t ${REPO}/paddle:cuda10.0-cudnn7-devel-ubuntu16.04 -f Dockerfile.cuda10.0-cudnn7 .
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册