build_deb.sh 257 字节
Newer Older
1 2 3 4 5
#!/bin/bash
set -e
docker build -t build_paddle_deb .
rm -rf dist
mkdir -p dist
6
docker run -v$PWD/dist:/root/dist -v $PWD/../../../..:/root/paddle --name tmp_build_deb_container build_paddle_deb
7 8
docker rm tmp_build_deb_container
docker rmi build_paddle_deb