Dockerizing Maven Spring boot Application.

This page summarizes the projects mentioned and recommended in the original post on /r/docker

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • jib

    🏗 Build container images for your Java applications.

    % mvn compile jib:build [INFO] Scanning for projects... [INFO] [INFO] ------------------------< net.shagie:hello-jib >------------------------ [INFO] Building Hello Jib 0.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ hello-jib --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ hello-jib --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- jib-maven-plugin:2.8.0:build (default-cli) @ hello-jib --- [WARNING] 'mainClass' configured in 'maven-jar-plugin' is not a valid Java class: ${start-class} [INFO] [INFO] Containerizing application to shagie/hellojib... [WARNING] Base image 'gcr.io/distroless/java17:nonroot' does not use a specific image digest - build may not be reproducible ... credential stuff [INFO] Using base image with digest: sha256:2c29be2a889be27e4905127ae7122d390df08ac170791153b54f086ce7507b59 [INFO] [INFO] Container entrypoint set to [java, -cp, /app/resources:/app/classes:/app/libs/*, net.shagie.hellojib.HelloJibApplication] [INFO] [INFO] Built and pushed image as shagie/hellojib [INFO] [INFO] A new version of Jib (3.2.1) is available (currently using 2.8.0). Update your build configuration to use the latest features and fixes! [INFO] https://github.com/GoogleContainerTools/jib/blob/master/jib-maven-plugin/CHANGELOG.md [INFO] Please see https://github.com/GoogleContainerTools/jib/blob/master/docs/privacy.md for info on disabling this update check. [INFO] [INFO] Executing tasks: [INFO] [==============================] 100.0% complete [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:21 min [INFO] Finished at: 2022-04-26T19:32:05-05:00 [INFO] ------------------------------------------------------------------------

  • HelloJib

    Sample project showing adding jib to a project

    GitHub project: https://github.com/shagie/HelloJib

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts