From e92a0bcf630168d77af06e82aae1e55bb35d3915 Mon Sep 17 00:00:00 2001 From: dawidkulas <147207983+dawidkulas@users.noreply.github.com> Date: Fri, 13 Oct 2023 02:17:00 +0200 Subject: [PATCH] Added arm64 support --- Dockerfile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2f79a2b..6197502 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM jlesage/baseimage-gui:debian-11 +FROM jlesage/baseimage-gui:debian-11-v4 ENV APP_NAME="iDRAC 6" \ IDRAC_PORT=443 \ @@ -11,11 +11,13 @@ RUN APP_ICON_URL=https://raw.githubusercontent.com/DomiStyle/docker-idrac6/maste install_app_icon.sh "$APP_ICON_URL" RUN apt-get update && \ - apt-get install -y wget software-properties-common libx11-dev gcc xdotool && \ - wget -nc https://cdn.azul.com/zulu/bin/zulu8.68.0.21-ca-jdk8.0.362-linux_amd64.deb && \ - apt-get install -y ./zulu8.68.0.21-ca-jdk8.0.362-linux_amd64.deb && \ + 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 + apt-get update && \ + apt-get install -y zulu8-jre && \ gcc -o /keycode-hack.so /keycode-hack.c -shared -s -ldl -fPIC && \ - apt-get remove -y gcc software-properties-common && \ + apt-get remove -y gcc software-properties-common gnupg ca-certificates curl && \ apt-get autoremove -y && \ rm -rf /var/lib/apt/lists/* && \ rm /keycode-hack.c @@ -23,9 +25,9 @@ RUN apt-get update && \ RUN mkdir /app && \ chown ${USER_ID}:${GROUP_ID} /app -RUN rm /usr/lib/jvm/zulu-8-amd64/jre/lib/security/java.security +RUN rm /usr/lib/jvm/zulu-8-arm64/jre/lib/security/java.security COPY startapp.sh /startapp.sh COPY mountiso.sh /mountiso.sh -WORKDIR /app +WORKDIR /app \ No newline at end of file