vagrant_build.sh 227 Bytes
Newer Older
Tim Schoof's avatar
Tim Schoof committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
NAME=schooft/manylinux_freeze

vagrant rsync

vagrant ssh -c "
  cd /vagrant \
    && docker build -t ${NAME} .
"

vagrant ssh -c "docker save ${NAME}" -- -T | docker load

if [[ $1 == "push" ]]; then
    docker push ${NAME}
fi