amplab / docker-scripts

Dockerfiles and scripts for Spark and Shark Docker images
262 stars 102 forks source link

Build image for Shark 0.9.1 #33

Open AndreSchumacher opened 10 years ago

lbustelo commented 10 years ago

I was trying to do this by simply swapping references to 0.9.0 with 0.9.1. The problem is that I have to rebuild the hadoop image and that DockerFile fails to build while trying to install open-jre.

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.
lbustelo commented 10 years ago

To fix this problem, need to add the following to https://github.com/amplab/docker-scripts/blob/master/apache-hadoop-hdfs-precise/Dockerfile#L11

RUN echo "deb http://archive.ubuntu.com/ubuntu precise-updates main universe" >> /etc/apt/sources.list