Git Product home page Git Product logo

java-microservices-s2i's Introduction

Java Openjdk Quarkus - Wildfly Microservices S2i Images

Alpine - RockyLinux - Debian - Fedora

Openjdk 17,16,15,14,13,11,8

Amazon Corretto 11,8

Docker Stars Docker Pulls Docker Automated Docker Build

Features

  • Non-root
  • Okd Ready
  • Kubernetes Ready
  • S2i build images
  • S2i runtime images
  • Maven (Jdk images only)
  • Jolokia Java monitoring
  • Prometheus Java monitoring
  • Glowroot Java monitoring
  • Support Wildfly Throntail, Wildfly Bootable, Quarkus, Spring Boot, Custom

Deploy Environments

Environment Details
TIMEZONE Set Timezone (America/Montevideo, America/El_salvador)
EXTRA_JAVA_OPTS Add extra options to JAVA_OPTS
OVERRIDE_JAVA_OPTS Override default JAVA_OPTS options
APP_OPTIONS set extra arguments when application start
WAITFOR_HOST set name host
WAITFOR_PORT set port for WAITFOR_HOST
JOLOKIA_ENABLE Enable jolokia jmx monitoring
PROMETHEUS_ENABLE Enable prometheus jmx monitoring
GLOWROOT_ENABLE Enable glowroot jmx monitoring
GLOWROOT_CENTRAL_COLLECTOR Send jmx metrics to Glowroot Central - Example http://collector:8181
GLOWROOT_CENTRAL_COLLECTOR_AGENTID Agent.id name when send data to Glowroot Central - Example myapp

Build Environments

Environment Details
MVN_OPTS Maven options when build
MVN_OVERRIDE_COMMAND Override default mvn command. Default mvn clean package
GRADLE_OPTS Gradle options
NEXUS_MIRROR_URL Nexus repository override repository in pom.xml
NEXUS_SERVER_PASSWORD Nexus repository auth password
NEXUS_SERVER_USERNAME Nexus repository auth username
NEXUS_SERVER_ID Nexus repository id name.
QUARKUS_PACKAGE_TYPE Quarkus package type values: fast-jar, uber-Jar
RUNTIME_ASSEMBLE_CUSTOM_COMMAND_RUN Run custom command in assemble-runtime process
ARTIFACTORY_NAME Search for artifcatory with specific name

Generate builder image

Example build opendjdk 11 alpine image

 docker build -t java-microservices:jdk11-alpine -f openjdk11/Dockerfile.jdk.alpine contrib

Java application image use s2i

s2i build https://github.com/myuser/java-sample-app.git java-microservices:jdk11-alpine myapp:latest --incremental

Run application

docker run -p 8080:8080 myapp:latest

How use s2i

https://github.com/openshift/source-to-image

License

Martin vilche

java-microservices-s2i's People

Contributors

mvilche avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.