1. Migrate Spring Boot to 3.3.0 2. Upgrade some other dependencies 3. Update Dockerfile-s regarding deprecated -Djarmode=layertools extract Follow: [Spring Boot 3.3 Release Notes](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.3-Release-Notes) Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -15,7 +15,7 @@ COPY org/eclipse/hawkbit/${APP}/${VERSION}/${APP}-${VERSION}.jar ${APP}-${VERSIO
|
||||
RUN set -x &&\
|
||||
mkdir -p ${BUILD_DIR} &&\
|
||||
cd ${BUILD_DIR} &&\
|
||||
java -Djarmode=layertools -jar /${APP}-${VERSION}.jar extract --destination . &&\
|
||||
java -Djarmode=tools -jar /${APP}-${VERSION}.jar extract --layers --launcher --destination . &&\
|
||||
rm /${APP}-${VERSION}.jar
|
||||
|
||||
FROM eclipse-temurin:${JAVA_VERSION}-jre-alpine
|
||||
|
||||
Reference in New Issue
Block a user