Skip to content

Instantly share code, notes, and snippets.

@b1a9id
Created May 14, 2021 05:31
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 b1a9id/f459aa7d98d59da1625252003e05b08e to your computer and use it in GitHub Desktop.
Save b1a9id/f459aa7d98d59da1625252003e05b08e to your computer and use it in GitHub Desktop.
micrometer-prometheusのbuild.gradle_jib
plugins {
id 'com.google.cloud.tools.jib' version '3.0.0'
}
jib {
container {
ports ['8080']
jvmFlags = ['--enable-preview']
}
from {
image = 'openjdk:15-alpine'
}
to {
image = 'micrometer-prometheus-api'
tags = ['latest']
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment