Merge pull request #103 from vidstige/docker-build

script to build in docker image
This commit is contained in:
Samuel Carlsson 2018-09-23 20:22:35 +02:00 committed by GitHub
commit 98b5258ea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
build/docker.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
set -eu
docker run -it --rm \
-v "$(pwd)":/opt/maven \
-w /opt/maven maven:3.5-jdk-7 \
mvn clean install