docker-idrac6/Dockerfile
Marmaduke Woodman 360f21272f add keycode hack
2019-03-22 15:54:41 +01:00

22 lines
530 B
Docker

FROM jlesage/baseimage-gui:ubuntu-16.04
ENV APP_NAME="iDRAC 6" \
IDRAC_PORT=443
COPY keycode-hack.c /keycode-hack.c
RUN apt-get update && \
apt-get install -y software-properties-common wget && \
add-apt-repository ppa:openjdk-r/ppa && \
apt-get update && \
apt-get install -y openjdk-7-jdk gcc && \
gcc -o /keycode-hack.so /keycode-hack.c -shared -s -ldl -fPIC && \
rm -rf /var/lib/apt/lists/*
RUN mkdir /app && \
chown ${USER_ID}:${GROUP_ID} /app
COPY startapp.sh /startapp.sh
WORKDIR /app