Added arm64 support

This commit is contained in:
dawidkulas 2023-10-13 02:17:00 +02:00
parent c4d2330562
commit e92a0bcf63

View File

@ -1,4 +1,4 @@
FROM jlesage/baseimage-gui:debian-11 FROM jlesage/baseimage-gui:debian-11-v4
ENV APP_NAME="iDRAC 6" \ ENV APP_NAME="iDRAC 6" \
IDRAC_PORT=443 \ 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" install_app_icon.sh "$APP_ICON_URL"
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y wget software-properties-common libx11-dev gcc xdotool && \ apt-get install -y wget software-properties-common libx11-dev gcc xdotool gnupg ca-certificates curl && \
wget -nc https://cdn.azul.com/zulu/bin/zulu8.68.0.21-ca-jdk8.0.362-linux_amd64.deb && \ curl -s https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg
apt-get install -y ./zulu8.68.0.21-ca-jdk8.0.362-linux_amd64.deb && \ 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 && \ 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 && \ apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
rm /keycode-hack.c rm /keycode-hack.c
@ -23,9 +25,9 @@ RUN apt-get update && \
RUN mkdir /app && \ RUN mkdir /app && \
chown ${USER_ID}:${GROUP_ID} /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 startapp.sh /startapp.sh
COPY mountiso.sh /mountiso.sh COPY mountiso.sh /mountiso.sh
WORKDIR /app WORKDIR /app