From 8cad8d70cebf55c445c985592529b5217a1726b8 Mon Sep 17 00:00:00 2001 From: dawidkulas <147207983+dawidkulas@users.noreply.github.com> Date: Sun, 17 Dec 2023 23:00:48 +0100 Subject: [PATCH] Fixed two mistakes, edited "java.security" removal --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6197502..5379ca2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,8 @@ RUN APP_ICON_URL=https://raw.githubusercontent.com/DomiStyle/docker-idrac6/maste RUN apt-get update && \ apt-get install -y wget software-properties-common libx11-dev gcc xdotool gnupg ca-certificates curl && \ - curl -s https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg - echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" | tee /etc/apt/sources.list.d/zulu.list + curl -s https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg && \ + echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" | tee /etc/apt/sources.list.d/zulu.list && \ apt-get update && \ apt-get install -y zulu8-jre && \ gcc -o /keycode-hack.so /keycode-hack.c -shared -s -ldl -fPIC && \ @@ -25,7 +25,7 @@ RUN apt-get update && \ RUN mkdir /app && \ chown ${USER_ID}:${GROUP_ID} /app -RUN rm /usr/lib/jvm/zulu-8-arm64/jre/lib/security/java.security +RUN find /usr/lib/jvm/ -name "java.security" -exec rm {} \; COPY startapp.sh /startapp.sh COPY mountiso.sh /mountiso.sh