Sign inSign up

softinstigate/maven-aws

By softinstigate

•Updated almost 6 years ago
Archived

A docker image for Maven with AWS and ECS CLI tools

Image
1

100K+

softinstigate/maven-aws repository overview

⁠Maven + AWS cli + ECS cli

Build Status

A Docker image for Apache Maven with AWS Command Line Interface⁠ and Amazon ECS command line interface⁠ tools.

This image has been used to build Java projects and to push them to AWS ECS containers. It can be useful especially for CI and CD systems.

⁠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/maven-aws
$ docker run -it --rm \
    -v "$PWD":/usr/src/app  \
    -v "$HOME"/.m2:/root/.m2 \
    -w /usr/src/app \
    softinstigate/maven-aws \
    clean install

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

⁠Run aws
docker run -it --rm --entrypoint "aws" softinstigate/maven-aws
⁠Run ecs-cli
docker run -it --rm --entrypoint "ecs-cli" softinstigate/maven-aws

⁠Base image

maven⁠

⁠Additional packages

See the Dockerfile⁠

Tag summary

Content type

Image

Digest

Size

546.1 MB

Last updated

almost 6 years ago

docker pull softinstigate/maven-aws