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:
@@ -21,7 +21,7 @@ RUN set -x &&\
|
||||
wget -O ${APP}.jar.asc --no-verbose https://repo1.maven.org/maven2/org/eclipse/hawkbit/${APP}/${VERSION}/${APP}-${VERSION}.jar.asc &&\
|
||||
gpg --batch --verify ${APP}.jar.asc ${APP}.jar &&\
|
||||
apk del build-dependencies &&\
|
||||
java -Djarmode=layertools -jar ${APP}.jar extract --destination . &&\
|
||||
java -Djarmode=tools -jar /${APP}.jar extract --layers --launcher --destination . &&\
|
||||
rm ${APP}.jar ${APP}.jar.asc /KEY
|
||||
|
||||
FROM eclipse-temurin:${JAVA_VERSION}-jre-alpine
|
||||
|
||||
Reference in New Issue
Block a user