Entrypoint Prefix Extension for Jib Plugin

Allows customizing entrypoint.

Лицензия

Лицензия

Категории

Категории

Gradle Компиляция и сборка
Группа

Группа

com.artemkaxboy
Идентификатор

Идентификатор

jib-entrypoint-prefix-extension-gradle
Последняя версия

Последняя версия

0.0.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

Entrypoint Prefix Extension for Jib Plugin
Allows customizing entrypoint.
Ссылка на сайт

Ссылка на сайт

https://github.com/artemkaxboy/jib-entrypoint-prefix-extension
Система контроля версий

Система контроля версий

https://github.com/artemkaxboy/jib-entrypoint-prefix-extension

Скачать jib-entrypoint-prefix-extension-gradle

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.artemkaxboy/jib-entrypoint-prefix-extension-gradle/ -->
<dependency>
    <groupId>com.artemkaxboy</groupId>
    <artifactId>jib-entrypoint-prefix-extension-gradle</artifactId>
    <version>0.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.artemkaxboy/jib-entrypoint-prefix-extension-gradle/
implementation 'com.artemkaxboy:jib-entrypoint-prefix-extension-gradle:0.0.3'
// https://jarcasting.com/artifacts/com.artemkaxboy/jib-entrypoint-prefix-extension-gradle/
implementation ("com.artemkaxboy:jib-entrypoint-prefix-extension-gradle:0.0.3")
'com.artemkaxboy:jib-entrypoint-prefix-extension-gradle:jar:0.0.3'
<dependency org="com.artemkaxboy" name="jib-entrypoint-prefix-extension-gradle" rev="0.0.3">
  <artifact name="jib-entrypoint-prefix-extension-gradle" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.artemkaxboy', module='jib-entrypoint-prefix-extension-gradle', version='0.0.3')
)
libraryDependencies += "com.artemkaxboy" % "jib-entrypoint-prefix-extension-gradle" % "0.0.3"
[com.artemkaxboy/jib-entrypoint-prefix-extension-gradle "0.0.3"]

Зависимости

test (3)

Идентификатор библиотеки Тип Версия
com.google.cloud.tools : jib-gradle-plugin-extension-api jar 0.4.0
junit : junit jar 4.13.1
org.mockito : mockito-core jar 3.4.6

Модули Проекта

Данный проект не имеет модулей.

Jib Custom Entrypoint Extension

A general-purpose extension that enables to customize an image's entrypoint by adding prefix/suffix to the original entrypoint or override it completely.

How it works

Extensions allow one to customize Google Jib Docker image entrypoint by adding specific prefixes/suffixes to the original one and therefore to avoid overriding classpath and main-class.

Example:

Default entrypoint: java -cp /app/resources:/app/classes:/app/libs/* Application after adding prefix ./wait-for-it.sh google.com:80 -- becomes ./wait-for-it.sh google.com:80 -- java -cp /app/resources:/app/classes:/app/libs/* Application which makes health-check requests before running the application.

Extensions and Examples

Gradle

Extension Documentation/Source code

Sample projects: Kotlin/Java

Maven

Extension Documentation/Source code

Sample project: Java

Версии библиотеки

Версия
0.0.3
0.0.2
0.0.1