Skip to content

Commit

Permalink
Added suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidkulas committed Oct 12, 2023
1 parent bdb2c56 commit 1fe11c6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@ FROM jlesage/baseimage-gui:debian-11-v4
ENV APP_NAME="iDRAC 6" \
IDRAC_PORT=443 \
DISPLAY_WIDTH=801 \
DISPLAY_HEIGHT=621 \
DOCKER_IMAGE_PLATFORM=arm64
DISPLAY_HEIGHT=621

COPY keycode-hack.c /keycode-hack.c

RUN APP_ICON_URL=https://raw.githubusercontent.com/DomiStyle/docker-idrac6/master/icon.png && \
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-embedded/bin/zulu8.70.0.23-ca-jdk8.0.372-linux_arm64.deb && \
apt-get install -y ./zulu8.70.0.23-ca-jdk8.0.372-linux_arm64.deb && \
apt-get install -y 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
Expand Down

0 comments on commit 1fe11c6

Please sign in to comment.