Git Product home page Git Product logo

s2i-standalone-java's Introduction

Standalone Java - CentOS Docker image

This repository contains the source for building various versions of the Standalone java application as a reproducible Docker image using source-to-image. The resulting image can be run using Docker.

Versions

Java versions currently provided are:

  • openJDK v1.7
  • openJDK v1.8

CentOS versions currently provided are:

  • CentOS7

Installation

This image is available on DockerHub. To download it, run:

$ docker pull mangirdas/s2i-java-8-centos7

or

$ docker pull mangirdas/s2i-java-7-centos7

To build a Java image from scratch, run:

$ git clone https://github.com/mangirdaz/s2i-standalone-java.git
$ cd s2i-standalone-java
$ make build VERSION=7

** Note: by omitting the VERSION parameter, the build/test action be performed on all provided versions of WildFly.**

Usage

To build a simple jee application using standalone S2I and then run the resulting image with Docker execute:

$ s2i build git://github.com/bparees/openshift-jee-sample mangirdas/s2i-java-8-centos7 javatest
$ docker run -p 8080:8080 javatest

Accessing the application:

$ curl 127.0.0.1:8080

Test

This repository also provides a S2I test framework, which launches tests to check functionality of a simple WildFly application built on top of the wildfly image.

  • CentOS based image

    $ cd s2i-standalone-java
    $ make test VERSION=7
    

Notice: By omitting the VERSION parameter, the build/test action will be performed on all provided versions of WildFly.

s2i-standalone-java's People

Contributors

mjudeikis avatar

Watchers

 avatar  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.