arconia image build buildpacks
The arconia image build buildpacks
command builds a container image for your Spring Boot application using Cloud Native Buildpacks. It delegates to your build tool’s (Maven/Gradle) image build tasks to package your application as a container image and optionally publish it to a container registry, relying on the Spring Boot integration with Paketo Buildpacks.
Usage
Basic usage:
arconia image build buildpacks
With custom image name:
arconia image build buildpacks --image-name ghcr.io/thomasvitale/my-app:4.2.0
Options
The following options are available:
Option | Default | Description |
---|---|---|
|
Name for the image to build. |
|
|
Name of the Builder image to use. |
|
|
Name of the Run image to use. |
|
|
|
Whether to clean the cache before building. |
|
|
Whether to publish the generated image to an OCI registry. |
|
|
Perform a clean build. |
|
|
Skip tests during the build. |
|
|
Include debug output. |
|
|
Include more verbose output about the execution. |
|
|
Include more details about errors. |
|
Additional build parameters passed directly to the build tool. |
|
|
Display help information for the command. |
Build Tool Integration
The command automatically detects whether your project uses Maven or Gradle and runs the appropriate image build task:
Build Tool | Command |
---|---|
Gradle |
|
Maven |
|
Additional parameters specified with --params
are passed through to the respective build tool command.