Example project to develop application with Java using Docker.
The idea is that you can use docker to develop your java application, without having to install anything on your system.
To let anything works, you need to have docker
and docker-compose
installed and configured on your system.
Also, you need Memento, Memento Kickstarter and Memento Docker Plugin.
Start by creating a new project using this kickstarter:
memento kickstarter create python
Then run:
memento docker configure
On the first run, it will ask some questions and set up for you the .env
file.
Once this quick configuration is done, the help is shown.
To create the docker environment needed to work with your project, run:
memento docker configure docker:create
Check that everything is working well by running some test commands:
memento docker cmd mvn --version
memento docker cmd java -version
You can create a new Java application with:
memento docker configure java:generate
You can run a shell directly inside the container:
memento docker cmd bash
Any feedback, bug report or idea is extremely welcome.
Reach us through our website or send us an email at info@bonsaimeme.com.