Skip to content

Commit

Permalink
Update to debian-11 baseimage, set display resolution to reduce black…
Browse files Browse the repository at this point in the history
… space, switch to Zulu JDK-11, add Dell iDRAC icon
  • Loading branch information
m-bers committed Feb 28, 2022
1 parent 9c4bd7a commit 4af0f04
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
FROM jlesage/baseimage-gui:ubuntu-16.04
FROM jlesage/baseimage-gui:debian-11

ENV APP_NAME="iDRAC 6" \
IDRAC_PORT=443
ENV APP_NAME="iDRAC 6" \
IDRAC_PORT=443 \
DISPLAY_WIDTH=801 \
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 && \
add-apt-repository ppa:openjdk-r/ppa && \
apt-get update && \
apt-get install -y openjdk-7-jdk gcc && \
apt-get install -y wget software-properties-common libx11-dev gcc && \
wget -nc https://cdn.azul.com/zulu/bin/zulu7.52.0.11-ca-jdk7.0.332-linux_amd64.deb && \
apt-get install -y ./zulu7.52.0.11-ca-jdk7.0.332-linux_amd64.deb && \
gcc -o /keycode-hack.so /keycode-hack.c -shared -s -ldl -fPIC && \
apt-get remove -y gcc software-properties-common && \
apt-get autoremove -y && \
Expand Down
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4af0f04

Please sign in to comment.