java-build  1.0.0
Containerized environment for building Java based projects.
base.dockerfile and build-base-image

Dockerfile and convenience script for registry.gitlab.com/kirkrader/javabuild:latest

Prerequisites

1 Microsoft Windows users may use the version of bash installed by default by Git.

Files

Usage

git clone https://gitlab.com/kirkrader/java-build.git
cd java-build
git checkout -b yourbranch
find . \( \
  -name \*.dockerfile \
  -o -name \* \
  -o -name .gitlab-ci.yml \
  \) \
  -exec sed -i'.bak' 's+registry.gitlab.com/kirkrader+yourtagprefix+g' \{\} \;
./build-base-image
docker push yourtagprefix/java-build:latest

build-base-image takes no parameters. It is simply a convenience wrapper for building and tagging an image using docker/base.dockerfile.