From 96eed922b1b672163198aa6263ce094d39d5ad17 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 4 Dec 2022 13:07:15 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 08ee8bb..881ac59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,6 @@ FROM eclipse-temurin:17 as app-build ENV RELEASE=17 -RUN apt-get install binutils - WORKDIR /opt/build COPY ./gitlab-app/target/gitlab-notification.jar ./application.jar @@ -10,7 +8,6 @@ RUN java -Djarmode=layertools -jar application.jar extract RUN $JAVA_HOME/bin/jlink \ --add-modules `jdeps --ignore-missing-deps -q -recursive --multi-release ${RELEASE} --print-module-deps -cp 'dependencies/BOOT-INF/lib/*' application.jar`,jdk.crypto.cryptoki \ --strip-java-debug-attributes \ - --strip-native-debug-symbols objcopy=/usr/bin/objcopy \ --no-man-pages \ --no-header-files \ --compress=2 \