Pradeep Bashyal created SPARK-8954:
--------------------------------------

             Summary: Building Docker Images Fails in 1.4 branch
                 Key: SPARK-8954
                 URL: https://issues.apache.org/jira/browse/SPARK-8954
             Project: Spark
          Issue Type: Bug
          Components: Build
    Affects Versions: 1.4.1
         Environment: Docker
            Reporter: Pradeep Bashyal


Docker build on branch 1.4 fails when installing the jdk. It expects 
tzdata-java as a dependency but adding that to the apt-get install list doesn't 
help.

~/S/s/d/spark-test git:branch-1.4 ❯❯❯ docker build -t spark-test-base base/     
                                            ◼
Sending build context to Docker daemon 3.072 kB
Sending build context to Docker daemon
Step 0 : FROM ubuntu:precise
 ---> 78cef618c77e
Step 1 : RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" 
> /etc/apt/sources.list
 ---> Using cache
 ---> 2017472bec85
Step 2 : RUN apt-get update
 ---> Using cache
 ---> 86b8911ead16
Step 3 : RUN apt-get install -y less openjdk-7-jre-headless net-tools vim-tiny 
sudo openssh-server
 ---> Running in dc8197a0ea31
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openjdk-7-jre-headless : Depends: tzdata-java but it is not going to be 
installed
E: Unable to correct problems, you have held broken packages.
INFO[0004] The command [/bin/sh -c apt-get install -y less 
openjdk-7-jre-headless net-tools vim-tiny sudo openssh-server] returned a 
non-zero code: 100



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to