Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
btiernay committed Mar 23, 2016
1 parent c1e8261 commit e11c1e9
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions icgc-storage-client/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# ______________________ _____ __ _________ __
# / _/ ____/ ____/ ____/ / ___// /_____ _________ _____ ____ / ____/ (_)__ ____ / /_
# / // / / / __/ / \__ \/ __/ __ \/ ___/ __ `/ __ `/ _ \ / / / / / _ \/ __ \/ __/
# _/ // /___/ /_/ / /___ ___/ / /_/ /_/ / / / /_/ / /_/ / __/ / /___/ / / __/ / / / /_
# /___/\____/\____/\____/ /____/\__/\____/_/ \__,_/\__, /\___/ \____/_/_/\___/_/ /_/\__/
# /____/
# Banner @ http://goo.gl/VCY0tD

FROM ubuntu:14.04
MAINTAINER ICGC <dcc-support@icgc.org>

#
# Update apt, add FUSE support and basic command line tools
#

RUN \
apt-get update && \
apt-get -y upgrade && \
apt-get install -y libfuse-dev fuse curl wget software-properties-common

#
# Install Oracle JDK 8
#

RUN add-apt-repository ppa:webupd8team/java
RUN apt-get update && apt-get upgrade -y
RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
RUN apt-get install -y \
oracle-java8-installer \
oracle-java8-set-default
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle

#
# Install latest version of storage client distribution
#

RUN mkdir -p /icgc/icgc-storage-client && \
cd /icgc/icgc-storage-client && \
wget -qO- https://seqwaremaven.oicr.on.ca/artifactory/dcc-release/org/icgc/dcc/icgc-storage-client/[RELEASE]/icgc-storage-client-[RELEASE]-dist.tar.gz | \
tar xvz --strip-components 1

#
# Set working directory for convenience with interactive usage
#

WORKDIR /icgc/icgc-storage-client

0 comments on commit e11c1e9

Please sign in to comment.