mirror of
https://github.com/DomiStyle/docker-idrac6.git
synced 2024-12-22 22:05:22 +01:00
Added arm64 support
This commit is contained in:
parent
c4d2330562
commit
e92a0bcf63
14
Dockerfile
14
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,7 +25,7 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user