Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Opetushallitus/baseimage-war

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baseimage-war

Travis status

A Docker base image for war-based services.

Building on top of this base image

To use this base image for your service, set the BASE_IMAGE variable in your .travis.yml.

You can either use the latest master build (recommended):

export BASE_IMAGE="baseimage-war:master"

or the latest build of a specific branch:

export BASE_IMAGE="baseimage-war:jdk11"

or a specific build:

export BASE_IMAGE="baseimage-war:ci-9"

After you have set the variable, the pull-image.sh script pulls the correct image, and build-*.sh script will build your image based on the base image.

Contributing

Please use branches to avoid producing a broken image with the master tag. You can test your branch builds by pulling the specific version for a service.

You can test the build locally on your machine by running:

docker build -t baseimage-war:latest .