Nothing Special   »   [go: up one dir, main page]

Skip to content

Chathuru/s2i-maven-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

This container image includes Java 8, Mavan 3.6.3 and Tomcat 8.5.54 as a S2I base image for your Java 8 applications. This image is based on centos/s2i-base-centos7. This image can be used to build and run *.java and *.war

Usage

To build a simple maven-web-project webapp using standalone S2I and then run the resulting image with Docker execute:

$ s2i build https://github.com/Chathuru/maven-web-project.git chathuru/s2i-maven-java hellow-java
$ docker run -p 8080:8080 hellow-java

Environment variables

Name Default Description
MVN_GOALS clean package Maven goals to execute
MVN_SKIP_TESTS true If tests should be skipped
MVN_OPTS None Additional options handed to Maven

For Information about how those vars can be configured see the official docs on Build Strategy Options

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published