Skip to content

grizzlysoftware/docker-maven-non-root

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image to run Apache Maven as non root user

this is fork of jtim's repository. This repository just adds images that are combination of various Maven and OpenJDK versions.

Available Maven versions:

  • 3.6.2
  • 3.6.1
  • 3.5.4
  • 3.2.5
  • 3.1.1
  • 3.0.5

Available OpenJDK versions:

  • 8u222-jdk-stretch
  • 11.0.4-jdk-stretch

Docker image tags: basicaly it gives us $mvn_version x $jdk_version, so:

  • 3.0.5-11.0.4-jdk-stretch
  • 3.0.5-8u222-jdk-stretch
  • 3.1.1-11.0.4-jdk-stretch
  • 3.1.1-8u222-jdk-stretch
  • 3.2.5-11.0.4-jdk-stretch
  • 3.2.5-8u222-jdk-stretch
  • 3.5.4-11.0.4-jdk-stretch
  • 3.5.4-8u222-jdk-stretch
  • 3.6.1-11.0.4-jdk-stretch
  • 3.6.1-8u222-jdk-stretch
  • 3.6.2-11.0.4-jdk-stretch
  • 3.6.2-8u222-jdk-stretch

Images are pushed to Dockerhub

Example how to use this Docker image using Gitlab CI

.gitlab-ci.yml

stages:
  - build

java-maven-3.6.2-11.0.4-jdk-stretch-job:
  image: grizzlysoftware/maven-non-root:3.6.2-11.0.4-jdk-stretch
  stage: build
  script:
    - whoami
    - java -version
    - mvn -v
    - mvn clean package

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dockerfile 86.9%
  • Shell 13.1%