You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-whoami/travis-build.sh

17 lines
292 B

#!/bin/bash
set -e
docker version
uname -a
echo "Updating Docker engine to have multi-stage builds"
sudo service docker stop
curl -fsSL https://get.docker.com/ | sudo sh
docker version
if [ -d tmp ]; then
docker rm build
rm -rf tmp
fi
docker build -t whoami --build-arg "arch=$ARCH" .