{"id":15444971,"url":"https://github.com/luiscoms/s2i-java","last_synced_at":"2025-04-19T20:37:46.005Z","repository":{"id":45406525,"uuid":"68361781","full_name":"luiscoms/s2i-java","owner":"luiscoms","description":"OpenShift's Java S2I Builder image. Suitable for java (fatjar) types of applications, microservices, springboot, vert.x, wildfly swarm, dropwizard,...","archived":false,"fork":false,"pushed_at":"2021-12-15T13:10:51.000Z","size":149,"stargazers_count":8,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-24T03:42:47.087Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luiscoms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-16T07:49:30.000Z","updated_at":"2021-12-15T13:10:55.000Z","dependencies_parsed_at":"2022-09-22T18:45:55.366Z","dependency_job_id":null,"html_url":"https://github.com/luiscoms/s2i-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luiscoms%2Fs2i-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luiscoms%2Fs2i-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luiscoms%2Fs2i-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luiscoms%2Fs2i-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luiscoms","download_url":"https://codeload.github.com/luiscoms/s2i-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241595451,"owners_count":19987945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T19:43:30.404Z","updated_at":"2025-03-03T01:32:56.591Z","avatar_url":"https://github.com/luiscoms.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"OpenShift S2I Builder for Java Docker images\n====\n\n[![Build Status](https://travis-ci.org/luiscoms/s2i-java.svg?branch=master)](https://travis-ci.org/luiscoms/s2i-java)\n\nSupported tags and respective `Dockerfile` links\n---------\n\n- [`1.8-all`, `latest` (*Dockerfile*)](http://github.com/luiscoms/s2i-java/blob/master/1.8-all/Dockerfile)\n- [`1.8-gradle` (*Dockerfile*)](http://github.com/luiscoms/s2i-java/blob/master/1.8-gradle/Dockerfile)\n- [`1.8-maven` (*Dockerfile*)](http://github.com/luiscoms/s2i-java/blob/master/1.8-maven/Dockerfile)\n\n\nThis repository contains the source for building various versions of\nthe Java application as a reproducible Docker image using\n[source-to-image](https://github.com/openshift/source-to-image).\nUsers can choose between RHEL and CentOS based builder images.\nThe resulting image can be run using [Docker](http://docker.io).\n\nFor more information about using these images with OpenShift, please see the\nofficial [OpenShift Documentation](https://docs.openshift.org/latest/using_images/s2i_images/python.html).\n\nFor a very similar S2I Java builder with some more options and flexibility, consider [fabric8io-images/s2i](https://github.com/fabric8io-images/s2i), AKA [fabric8/s2i-java on Docker Hub](https://hub.docker.com/r/fabric8/s2i-java/).\nIt [also supports Java 11, in addition to Gradle, Maven and Java 8 as per this blog post](http://blog2.vorburger.ch/2018/11/s2i-with-java-11-gradle-builds-for.html).\n\n\nVersions\n--------\nJava versions currently provided are:\n* JDK-1.8 + Gradle 2\n* JDK-1.8 + Maven 3\n* JDK-1.8 + Gradle 2 + Maven 3\n\nCentOS versions currently supported are:\n* CentOS7\n\n\nInstallation\n------------\n\nTo build a Java image, choose either the Maven or Gradle with:\n\n*  **Gradle image**\n\n    This image is also available on DockerHub. To download it run:\n\n    ```\n    $ docker pull luiscoms/s2i-java:1.8-gradle\n    ```\n\n    To build a Java image with Gradle from scratch run:\n\n    ```\n    $ git clone https://github.com/luiscoms/s2i-java.git\n    $ cd s2i-java\n    $ make build VERSION=1.8-gradle\n    ```\n\n*  **Maven image**\n\n    To build a Java image with Maven, you need to run the build on a properly.\n\n    ```\n    $ git clone https://github.com/luiscoms/s2i-java.git\n    $ cd s2i-java\n    $ make build VERSION=1.8-maven\n    ```\n\n    This image is also available on DockerHub. To download it run:\n\n    ```\n    $ docker pull luiscoms/s2i-java:1.8-maven\n    ```\n\n\n*  **Gradle + Maven image**\n\n    To build a Java image with Gradle and Maven, you need to run the build on a properly.\n\n    ```\n    $ git clone https://github.com/luiscoms/s2i-java.git\n    $ cd s2i-java\n    $ make build VERSION=1.8-all\n    ```\n\n    This image is also available on DockerHub. To download it run:\n\n    ```\n    $ docker pull luiscoms/s2i-java:1.8-all\n    ```\n\nOr\n\n    ```\n    $ docker pull luiscoms/s2i-java\n    ```\n\n**Notice: By omitting the `VERSION` parameter, the build/test action will be performed on all provided versions of Java.**\n\n\nUsage\n-----\n\nFor information about usage of Dockerfile for Java 1.8 with Gradle,\nsee [usage documentation](1.8-gradle/README.md).\n\nFor information about usage of Dockerfile for Java 1.8 with Maven,\nsee [usage documentation](1.8-maven/README.md).\n\nFor information about usage of Dockerfile for Java 1.8 with Gradle and Maven,\nsee [usage documentation](1.8-all/README.md).\n\nTest\n----\n\nThis repository also provides a [S2I](https://github.com/openshift/source-to-image) test framework,\nwhich launches tests to check functionality of a simple Java application built on top of the s2i-java image.\n\nUsers can choose between testing a Java test application with Gradle or Maven.\n\n*  **Gradle image**\n\n    ```\n    $ cd s2i-java\n    $ make test VERSION=1.8-gradle\n    ```\n\n*  **Maven image**\n\n    ```\n    $ cd s2i-java\n    $ make test VERSION=1.8-maven\n    ```\n\n*  **Gradle + Maven image**\n\n    ```\n    $ cd s2i-all\n    $ make test VERSION=1.8-all\n    ```\n\n\nRepository organization\n------------------------\n* **`\u003cjdkVersion-(gradle|maven|all)\u003e`**\n\n    Dockerfile and scripts to build container images from.\n\n* **`hack/`**\n\n    Folder containing scripts which are responsible for build and test actions performed by the `Makefile`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluiscoms%2Fs2i-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluiscoms%2Fs2i-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluiscoms%2Fs2i-java/lists"}