From 0a4edb5b4cebb3aba7f52a5f5a8d99c8e8f44076 Mon Sep 17 00:00:00 2001 From: Dominik Date: Fri, 21 Dec 2018 10:05:54 +0100 Subject: [PATCH] Cleanup Dockerfile --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4587c30..d09e238 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,12 @@ FROM jlesage/baseimage-gui:ubuntu-16.04 ENV APP_NAME="iDRAC 6" \ IDRAC_PORT=443 -RUN apt-get update -RUN apt-get -y install software-properties-common -RUN add-apt-repository ppa:openjdk-r/ppa -RUN apt-get update -RUN apt-get -y install openjdk-7-jdk +RUN apt-get update && \ + apt-get install -y software-properties-common && \ + add-apt-repository ppa:openjdk-r/ppa && \ + apt-get update && \ + apt-get install -y openjdk-7-jdk && \ + && rm -rf /var/lib/apt/lists/* RUN mkdir /app && \ chown ${USER_ID}:${GROUP_ID} /app