Sign inSign up

ukhomeofficedigital/dropwizard

By ukhomeofficedigital

•Updated almost 11 years ago

Dropwizard onbuild container

Image
0

2.3K

ukhomeofficedigital/dropwizard repository overview

⁠Docker Dropwizard

Build Status

This is an onbuild container for Dropwizard.

⁠Assumptions

  • You are using Maven 3 to build
⁠Getting started

Create a Dockerfile in your project and extend this one with the additional ports you app expose. Also specify the command to run the server including the jar file.

FROM ukhomeofficedigital:dropwizard

CMD ["target/my-java-app.jar", "server", "maybe-a-config.yml"]

EXPOSE 8080
EXPOSE 8081

Then build!

You can change the CMD if you want to pass more than server configuration.yml to the jar.

⁠Contributing

Feel free to submit pull requests and issues. If it's a particularly large PR, you may wish to discuss it in an issue first.

Please note that this project is released with a Contributor Code of Conduct⁠. By participating in this project you agree to abide by its terms.

⁠Versioning

We use Semantic Versioning⁠ for the version tags available See the tags on this repository.

⁠Authors

See also the list of contributors⁠ who participated in this project.

⁠License

This project is licensed under the MIT License - see the LICENSE.md⁠ file for details

Tag summary

Content type

Image

Digest

sha256:a3a635b47…

Size

60 MB

Last updated

almost 11 years ago

docker pull ukhomeofficedigital/dropwizard