Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.55 KB

File metadata and controls

62 lines (45 loc) · 1.55 KB

ci

Java Container Bootstrap

Bootstrap project (ie. empty shell) ready to ship Java application in OCI compatible container image.

Build Instructions

Requirements

0. Don't know where to start? Here's how to show the available build targets:

make help

or, because help is the default target: 🙂

make

1. Building the JAR

make app

2. Testing the JAR

make app/IT

NOTE: to shorten the feedback loop, make app/test only run unit tests

3. Building the OCI compatible container image (requires Podman or Docker)

make docker/image

4. Running the container (requires Podman Compose or Docker Compose)

To start the whole stack:

make docker/up

To shut down the whole stack:

make docker/down

5. Publishing the container image

make docker/push