Custom Entrypoint Extension for Jib Plugin

Allows customizing entrypoint.

Лицензия

Лицензия

Категории

Категории

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

Группа

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

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

jib-custom-entrypoint-extension-maven
Последняя версия

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

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

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

Скачать jib-custom-entrypoint-extension-maven

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

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

Зависимости

test (3)

Идентификатор библиотеки Тип Версия
com.google.cloud.tools : jib-maven-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.1.0
0.0.1