forked from overture-stack/score
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |