1
1
mirror of https://github.com/rsms/inter.git synced 2024-12-26 17:12:35 +03:00
inter/dockermake

12 lines
326 B
Plaintext
Raw Normal View History

#!/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
2019-02-03 01:29:56 +03:00
docker run --rm -it -v "$PWD:/host" rsms/inter-build:latest make "$@"