Created
February 7, 2018 13:02
-
-
Save kungfoo/2f791f5fe2590b2af46f0a1abc9bfc25 to your computer and use it in GitHub Desktop.
Running a gradle build on a completely clean docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
docker run -it --rm -v $(pwd):/src openjdk:alpine /bin/sh -c "cd src; ./gradlew test assemble" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment