Sign inSign up

jtim/maven-non-root

By jtim

•Updated about 8 years ago

Image to run the official mvn image (https://hub.docker.com/r/library/maven/#) as non root user.

Image
1

10K+

jtim/maven-non-root repository overview

⁠Docker Image to run Maven as non root user

Available Maven version:

  • 3.5.4
  • 3.3.9

Docker image tags:

  • latest, 3.5.4-jdk-8-alpine
  • 3.3.9-jdk-8-alpine

Images are pushed to Dockerhub⁠

⁠Example how to use this Docker image using Gitlab CI

.gitlab-ci.yml

stages:
  - build

java-maven-3.5.4-jdk-8-alpine-job:
  image: jtim/maven-non-root:3.5.4-jdk-8-alpine
  stage: build
  script:
    - whoami
    - java -version
    - mvn -v
    - mvn clean package

Tag summary

Content type

Image

Digest

Size

80.1 MB

Last updated

about 8 years ago

docker pull jtim/maven-non-root