This repository was archived by the owner on Apr 28, 2018. It is now read-only.
forked from overture-stack/score
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
46 lines (37 loc) · 1.62 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# ______________________ _____ __ _________ __
# / _/ ____/ ____/ ____/ / ___// /_____ _________ _____ ____ / ____/ (_)__ ____ / /_
# / // / / / __/ / \__ \/ __/ __ \/ ___/ __ `/ __ `/ _ \ / / / / / _ \/ __ \/ __/
# _/ // /___/ /_/ / /___ ___/ / /_/ /_/ / / / /_/ / /_/ / __/ / /___/ / / __/ / / / /_
# /___/\____/\____/\____/ /____/\__/\____/_/ \__,_/\__, /\___/ \____/_/_/\___/_/ /_/\__/
# /____/
# Banner @ http://goo.gl/VCY0tD
FROM ubuntu:14.04
MAINTAINER ICGC <[email protected]>
#
# 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://artifacts.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