compose/script/build-linux
Daniel Nephin 9be748f85c Clean before doing a build so that we don't include stale build artifacts
in the binaries.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
2015-09-17 12:27:51 -04:00

14 lines
187 B
Bash
Executable File

#!/bin/bash
set -ex
./script/clean
TAG="docker-compose"
docker build -t "$TAG" .
docker run \
--rm \
--volume="$(pwd):/code" \
--entrypoint="script/build-linux-inner" \
"$TAG"