2023-10-13 02:17:00 +02:00
|
|
|
FROM jlesage/baseimage-gui:debian-11-v4
|
2018-04-05 15:42:34 +02:00
|
|
|
|
2022-02-28 21:09:22 +01:00
|
|
|
ENV APP_NAME="iDRAC 6" \
|
|
|
|
IDRAC_PORT=443 \
|
|
|
|
DISPLAY_WIDTH=801 \
|
|
|
|
DISPLAY_HEIGHT=621
|
2018-04-05 15:42:34 +02:00
|
|
|
|
2019-03-22 15:54:41 +01:00
|
|
|
COPY keycode-hack.c /keycode-hack.c
|
|
|
|
|
2022-02-28 21:09:22 +01:00
|
|
|
RUN APP_ICON_URL=https://raw.githubusercontent.com/DomiStyle/docker-idrac6/master/icon.png && \
|
|
|
|
install_app_icon.sh "$APP_ICON_URL"
|
|
|
|
|
2018-12-21 10:05:54 +01:00
|
|
|
RUN apt-get update && \
|
2023-10-13 02:17:00 +02:00
|
|
|
apt-get install -y wget software-properties-common libx11-dev gcc xdotool gnupg ca-certificates curl && \
|
2023-12-17 23:00:48 +01:00
|
|
|
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 && \
|
2023-10-13 02:17:00 +02:00
|
|
|
apt-get update && \
|
|
|
|
apt-get install -y zulu8-jre && \
|
2019-03-22 15:54:41 +01:00
|
|
|
gcc -o /keycode-hack.so /keycode-hack.c -shared -s -ldl -fPIC && \
|
2023-10-13 02:17:00 +02:00
|
|
|
apt-get remove -y gcc software-properties-common gnupg ca-certificates curl && \
|
2019-04-02 13:17:32 +02:00
|
|
|
apt-get autoremove -y && \
|
|
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
|
|
rm /keycode-hack.c
|
2018-04-05 15:42:34 +02:00
|
|
|
|
|
|
|
RUN mkdir /app && \
|
|
|
|
chown ${USER_ID}:${GROUP_ID} /app
|
|
|
|
|
2023-12-17 23:00:48 +01:00
|
|
|
RUN find /usr/lib/jvm/ -name "java.security" -exec rm {} \;
|
2022-04-08 03:59:30 +02:00
|
|
|
|
2018-04-05 15:42:34 +02:00
|
|
|
COPY startapp.sh /startapp.sh
|
2022-03-01 04:14:42 +01:00
|
|
|
COPY mountiso.sh /mountiso.sh
|
2018-04-05 15:42:34 +02:00
|
|
|
|
2023-10-13 02:17:00 +02:00
|
|
|
WORKDIR /app
|