Thanks to visit codestin.com
Credit goes to github.com

Skip to content

reftch/java-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developing Java application in local OCI container

All you need for build and run this application to have is Podman or Docker installed on your computer. All necessary libraries, tools will be installed in your OCI containers on their own way.

Quick start

  1. Clone git repository or download the java-container repository.
git clone [email protected]:reftch/java-container.git
  1. Change current directory:
cd java-container
  1. Init project environment and build container image for development.
make init

This step might take some seconds, because it creates an OCI container image and installs all necessary Maven dependencies.

  1. Start application in development container (located in the app/ dir):
make dev spring-boot:run

You can freely change the application's code, it will rebuilt immediately, because container has project's directories like mounted volume. This lets the con­tain­er read & write to the cur­rent direc­to­ry on our com­put­er.

  1. Stop development container:
make stop

or just push Ctrl-C

About

Local development environment for developing java application via OCI container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •