Make sure to run apt-get update before trying to install
authorWard Vandewege <ward@curoverse.com>
Tue, 16 Sep 2014 20:36:03 +0000 (16:36 -0400)
committerWard Vandewege <ward@curoverse.com>
Tue, 16 Sep 2014 20:36:03 +0000 (16:36 -0400)
openjdk-7-jre-headless into the java-bwa-samtools arvados docker image.

no issue #

docker/java-bwa-samtools/Dockerfile

index e10f94f6c16c872bae74c5201b8e01f6b6b62c8e..c12bf06dfb3a7e71799490e323533f48be46cf2e 100644 (file)
@@ -3,7 +3,8 @@ MAINTAINER Peter Amstutz <peter.amstutz@curoverse.com>
 
 USER root
 
-RUN apt-get install -y -q openjdk-7-jre-headless && \
+RUN apt-get update && \
+    apt-get install -y -q openjdk-7-jre-headless && \
     cd /tmp && \
     curl --location http://downloads.sourceforge.net/project/bio-bwa/bwa-0.7.9a.tar.bz2 -o bwa-0.7.9a.tar.bz2 && \
     tar xjf bwa-0.7.9a.tar.bz2 && \
@@ -19,4 +20,4 @@ RUN apt-get install -y -q openjdk-7-jre-headless && \
     (find . -executable -type f -print0 | xargs -0 -I {} mv {} /usr/local/bin) && \
     rm -r /tmp/samtools-0.1.19*
 
-USER crunch
\ No newline at end of file
+USER crunch