From a9dad14c3bdf001a5a399f55b5927df748d79e30 Mon Sep 17 00:00:00 2001 From: Jerry Flood Date: Wed, 11 Oct 2017 12:39:25 -0400 Subject: Restructuring Dockerfile to debug failure Issue: TEST-65 Change-Id: I790b0bcf81d07c68d3283e592d6107bbb44fb210 Signed-off-by: Jerry Flood --- docker/Dockerfile | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) (limited to 'docker/Dockerfile') diff --git a/docker/Dockerfile b/docker/Dockerfile index 871e8492..6822f37e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -7,15 +7,28 @@ LABEL name="Docker image for the OpenECOMP Robot Testing Framework" LABEL usage="docker run -e ROBOT_TEST= -ti openecompete" # Install Python Pip, Robot framework, firefox, lighttpd web server, wget -RUN apt-get update && \ - apt-get --assume-yes install python=2.7.11-1 && \ - apt-get --assume-yes install build-essential dbus dnsutils git libappindicator1 \ - libffi-dev libindicator7 libssl-dev libxss1 \ - lighttpd net-tools python-dev python-pip unzip \ - wget xvfb && \ - pip install --upgrade pip && \ - pip install robotframework && \ - python --version +# Restructuring so we can see where it fails in the build. +RUN apt-get update +RUN apt-get --assume-yes install python=2.7.11-1 +RUN apt-get --assume-yes install build-essential +RUN apt-get --assume-yes install dbus +RUN apt-get --assume-yes install dnsutils +RUN apt-get --assume-yes install git +RUN apt-get --assume-yes install libappindicator1 +RUN apt-get --assume-yes install libffi-dev +RUN apt-get --assume-yes install libindicator7 +RUN apt-get --assume-yes install libssl-dev +RUN apt-get --assume-yes install libxss1 +RUN apt-get --assume-yes install lighttpd +RUN apt-get --assume-yes install net-tools +RUN apt-get --assume-yes install python-dev +RUN apt-get --assume-yes install python-pip +RUN apt-get --assume-yes install unzip +RUN apt-get --assume-yes install wget +RUN apt-get --assume-yes install xvfb +RUN pip install --upgrade pip +RUN pip install robotframework +RUN python --version # Install chrome RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \ -- cgit 1.2.3-korg