diff --git a/Dockerfile b/Dockerfile index d6c5002..c9e2940 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN apt-get update && \ apt-get update && \ apt-get install -y openjdk-7-jdk gcc && \ gcc -o /keycode-hack.so /keycode-hack.c -shared -s -ldl -fPIC && \ - apt-get remove -y gcc wget software-properties-common && \ + apt-get remove -y gcc software-properties-common && \ apt-get autoremove -y && \ rm -rf /var/lib/apt/lists/* && \ rm /keycode-hack.c diff --git a/startapp.sh b/startapp.sh index 5971f6a..8641812 100644 --- a/startapp.sh +++ b/startapp.sh @@ -93,7 +93,7 @@ cd /app echo "${GREEN}Initialization complete, starting virtual console${NC}" -if [ -n "$ENABLE_KEYCODE_HACK" ]; then +if [ -n "$IDRAC_KEYCODE_HACK" ]; then echo "Enabling keycode hack" export LD_PRELOAD=/keycode-hack.so