Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Docker Buildpacks image support from Spring Boot #248

Open
arey opened this issue Dec 24, 2023 · 0 comments
Open

Use Docker Buildpacks image support from Spring Boot #248

arey opened this issue Dec 24, 2023 · 0 comments
Assignees

Comments

@arey
Copy link
Member

arey commented Dec 24, 2023

Allowed by the PR #247 we could now use the Cloud Native Buildpacks with the command line:

./mvnw spring-boot:build-image 

See https://spring.io/guides/topicals/spring-boot-docker/

To build a Docker image, we can propose 2 options :

  1. keeping Dockerfile support with the buildDocker Maven profile
  2. use the Spring Boot maven build-image plugin

Buildpacks image does not provide curl for health check (used in the docker-compose.yml). Thus we have to install another health check tool that we don't have in the Dockerfile: https://github.com/paketo-buildpacks/health-checker

@arey arey self-assigned this Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant