D
D
Dinar Zaripov2019-11-09 13:36:14
Java
Dinar Zaripov, 2019-11-09 13:36:14

How to deploy jar using docker?

There is a multi-module java application. Everything is on github and is being developed by the team.
All modules are built individually using Gradle.
I want to run the resulting jar (one of the modules) on the server in a docker container.
How to properly implement such a deployment?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
�
âš¡ Kotobotov âš¡, 2019-11-09
@Donquih0te

well, the usual CI / CD scheme - some kind of assembler (for github, this is usually https://travis-ci.org/) - compiles your jar.
then he then copies this jarnik docker image.
then sends this docker image to a repository, for example, on DockerHub, from there you can already download and run the container where you need it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question