Skip to content

Instantly share code, notes, and snippets.

@markito
Last active July 1, 2020 22:26
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 markito/9bf7aca34c8c1aabdd17bce7f8abde50 to your computer and use it in GitHub Desktop.
Save markito/9bf7aca34c8c1aabdd17bce7f8abde50 to your computer and use it in GitHub Desktop.
$ gradle build jib --image=markito/demo-app:v1
Starting a Gradle Daemon, 1 busy Daemon could not be reused, use --status for details
> Task :jib
Containerizing application to markito/demo-app:v1...
Base image 'gcr.io/distroless/java:8' does not use a specific image digest - build may not be reproducible
...
Using base image with digest: sha256:7cef6d99241bc86e09659d41842e3656a1cab99adf0e440a44d2858c8e52a71a
Container entrypoint set to [java, -cp, /app/resources:/app/classes:/app/libs/*, com.example.demo.DemoApplication]
Built and pushed image as markito/demo-app:v1
Executing tasks:
[=========================== ] 88.9% complete
> launching layer pushers
BUILD SUCCESSFUL in 9s
6 actionable tasks: 1 executed, 5 up-to-date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment