Skip to content

Instantly share code, notes, and snippets.

@topera
Last active June 5, 2018 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save topera/1381fb50ea8b9597148df48d6bcd5106 to your computer and use it in GitHub Desktop.
Save topera/1381fb50ea8b9597148df48d6bcd5106 to your computer and use it in GitHub Desktop.
Gradle task to prepare a springboot app to be deployed as a Docker in Elastic Beanstalk
task createPackageToAWS(type: Exec) {
doFirst {
executable "sh"; args "-c", "jar cf build/app-docker.jar Dockerfile build/libs/app.jar"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment