Cleanup Dockerfile

This commit is contained in:
Dominik 2018-12-21 10:05:54 +01:00
parent fac8ebbe3f
commit 0a4edb5b4c

View File

@ -3,11 +3,12 @@ FROM jlesage/baseimage-gui:ubuntu-16.04
ENV APP_NAME="iDRAC 6" \ ENV APP_NAME="iDRAC 6" \
IDRAC_PORT=443 IDRAC_PORT=443
RUN apt-get update RUN apt-get update && \
RUN apt-get -y install software-properties-common apt-get install -y software-properties-common && \
RUN add-apt-repository ppa:openjdk-r/ppa add-apt-repository ppa:openjdk-r/ppa && \
RUN apt-get update apt-get update && \
RUN apt-get -y install openjdk-7-jdk apt-get install -y openjdk-7-jdk && \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir /app && \ RUN mkdir /app && \
chown ${USER_ID}:${GROUP_ID} /app chown ${USER_ID}:${GROUP_ID} /app