1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-10 19:52:26 +03:00
inter/dockermake
2019-01-05 16:20:22 -08:00

12 lines
329 B
Bash
Executable File

#!/bin/bash -e
#
# Runs make in a prebuilt docker image.
# All you need to have installed is docker for this to work.
# This is an alternative to building locally.
#
cd "$(dirname "$0")"
if [[ -d .git ]]; then
git rev-parse --short HEAD > githash.txt
fi
docker run --rm -it -v "$PWD:/host" rsms/inter-ui-build:latest make "$@"