Sign inSign up

nubs/maven-onbuild

By nubs

Updated over 7 years ago

Image
0

2.0K

nubs/maven-onbuild repository overview

docker-maven-onbuild

This is a base image for java maven projects that can execute simple applications ONBUILD.

Purpose

This docker image builds on top of the maven-build image, but adds ONBUILD instructions to install the project code into the container and execute mvn.

Usage

This library is useful with a simple Dockerfile. For example, using the Dockerfile:

FROM nubs/maven-onbuild:latest

you can build an image like so:

docker build --tag my-image .

To execute a command, you can simply:

docker run -it --rm my-image ./run

License

docker-maven-onbuild is licensed under the MIT license. See LICENSE for the full license text.

Tag summary

Content type

Image

Digest

sha256:8c5ef7f04

Size

734 MB

Last updated

over 7 years ago

docker pull nubs/maven-onbuild