/sdkman-java-maven-builder

Docker image with various Java and Maven versions to build Java Maven projects

Primary LanguageMakefileMIT LicenseMIT

main Docker Pulls Hits License: MIT

SDKMan! Java/Maven Builder docker image

Docker image with various Java and Maven versions to build Java Maven projects

Pre-Requisites

  • Docker
  • DockerHub login and password
    DOCKER_LOGIN= 
    DOCKER_PWD=

Help

make help

make-help

Login to the Docker Image registry

make login

Build Docker Image with default JAVA_VERSION and MAVEN_VERSION

make build

Build Docker Image with alternative JAVA_VERSION and MAVEN_VERSION and or different UID,GID,USER_NAME

make build JAVA_VERSION=16.0.1.hs-adpt MAVEN_VERSION=3.8.1 USER_UID=1000 USER_GID=1000 USER_NAME=user

Run Docker Image Interactively

make it

Run maven -version Docker Image

make version

Push Docker to DockerHub

make push

Delete Docker Image

make delete