https://github.com/devinrsmith/docker-gradle-application-example
https://github.com/devinrsmith/docker-gradle-application-example
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devinrsmith/docker-gradle-application-example
- Owner: devinrsmith
- Created: 2018-10-31T19:07:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-31T19:36:24.000Z (over 6 years ago)
- Last Synced: 2025-01-26T09:12:06.579Z (4 months ago)
- Language: Java
- Size: 53.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Docker Gradle Application Example
Build: `./gradlew build`
Run app1 natively: `./gradlew app1:run`
Run app2 natively: `./gradlew app2:run`
Build docker images: `./gradlew dockerBuildImage`
Run app1 in docker: `docker run gcr.io/example-gcp-project/com.devinrsmith.example/app1:0.0.1-SNAPSHOT`
Run app2 in docker: `docker run gcr.io/example-gcp-project/com.devinrsmith.example/app2:0.0.1-SNAPSHOT`
Note: built as an example of how I would like to use Jib: https://github.com/GoogleContainerTools/jib/issues/1211