Skip to content
This repository was archived by the owner on May 5, 2019. It is now read-only.

onelapahead/emerging-container-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven/Docker/OpenShift

Run the "Hello World!" app:

mvn clean install
pushd hello-api/; mvn spring-boot:run; popd

Build the jar:

mvn package

Build locally with Docker:

docker build hello-api/ -t hello-api:latest

Build on OpenShift (maybe via a Jenkins slave pod):


# assume your in project `hello-test`
# create the build config

oc process -f templates/build.yml \
   -p ENVIRONMENT=test \
   -p APPLICATION=hello \
   -p COMPONENT=api \
   -p TAG_VERSION=latest | oc apply -f -
   
   
# upload archive of module with Dockerfile and jar,
# build and push image to openshift registry

oc start-build hello-api-latest \
   --from-dir hello-api/ \
   --follow

About

Demoing Skaffold + Maven + Jib + Tiller(less) Helm for a Spring Boot app on OpenShift

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages