gs-spring-boot-docker
gs-spring-boot-docker copied to clipboard
Spring Boot with Docker :: Learn how to create a Docker container from a Spring Boot application with Maven or Gradle
The application won't be able to run if it is using JDK 8.
https://spring.io/guides/gs/spring-boot-docker/ gives 404 now.
Address the issue #104 where guide is using 1.8 in some locations whereas the minimum version for spring boot 3.x is 17. Also shifted the base docker image to use...
Error 404
I think it is better to update the starting Docker image to something similar to 👍 FROM openjdk:17-jdk-slim-buster Otherwise it complains about incompatible .class version: from /complete/pom.xml 17
update pom for dockerhub
The documentation makes reference several times to a project [boot2docker](https://github.com/boot2docker/boot2docker). This project is deprecated and not maintained. The `boot2docker` GitHub page recommends using Docker Desktop instead.
The command: mkdir -p build/dependency && (cd build/dependency; jar -xf ../libs/*.jar) Does not extract the jars properly. I had to manually extract the jars to build/dependency one by one. Environment:...
documentation needs to be improved e.g. in https://github.com/spring-guides/gs-spring-boot-docker#containerize-it "It is then copied (by the COPY command) the project JAR file into the container as app.jar" is to be re-written as...