Skip to content

Instantly share code, notes, and snippets.

@kungfoo
Created February 7, 2018 13:02
Show Gist options
  • Select an option

  • Save kungfoo/2f791f5fe2590b2af46f0a1abc9bfc25 to your computer and use it in GitHub Desktop.

Select an option

Save kungfoo/2f791f5fe2590b2af46f0a1abc9bfc25 to your computer and use it in GitHub Desktop.
Running a gradle build on a completely clean docker container
#!/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