Skip to content

SoftInstigate/graalvm-maven-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graalvm-maven-docker

Docker image

A docker image for GraalVM and Maven built with sdkman

It also installs native-image

Images are automatically published on Docker Hub when commit is tagged.

Versions

  • GraalVM: 22.0.2-graalce
  • Maven: 3.9.9

Pull image

$ docker pull softinstigate/graalvm-maven

Run

The default ENTRYPOINT for this image is mvn.

If you want to mvn clean install your Java project, CD where the pom.xml is located, then:

$ docker pull softinstigate/graalvm-maven
$ docker run -it --rm \
    -v "$PWD":/opt/app  \
    -v "$HOME"/.m2:/root/.m2 \
    softinstigate/graalvm-maven \
    clean package

The -v "$HOME"/.m2:/root/.m2 parameter mounts your local ~/.m2 Maven repository as a Docker volume.

how to build a native image

Use the Native Maven Plugin in your pom.xml.

About

A docker image for GraalVM and Maven built with sdkman from debian:buster-slim

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy