compose/script/build-linux

14 lines
237 B
Bash
Executable File

#!/bin/bash
set -ex
./script/clean
TAG="docker-compose"
docker build -t "$TAG" . | tail -n 200
docker run \
--rm --entrypoint="script/build-linux-inner" \
-v $(pwd)/dist:/code/dist \
-v $(pwd)/.git:/code/.git \
"$TAG"