-
Notifications
You must be signed in to change notification settings - Fork 7
/
Dockerfile
43 lines (33 loc) · 1.51 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
# Base Image
FROM ubuntu:18.04
# Metadata
LABEL base.image="CloudConductor:v0.1.1"
LABEL version="1"
LABEL software="CloudConductor:v0.1.1"
LABEL software.version="0.1.1"
LABEL description="Bioinformatics cloud workflow management system."
LABEL tags="NGS Cloud CloudConductor GoogleCloud AWS Bioinformatics Workflow Pipeline"
# Maintainer
MAINTAINER davelab <lab.dave@gmail.com>
# update the OS related packages
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:jonathonf/python-3.6
RUN apt-get update -y &&\
apt-get install -y build-essential python2.7-dev python3.6-dev python3-pip && \
apt-get install -y curl git netcat
# upgrade pip, setuptools, and wheel Python modules
RUN python3.6 -m pip install pip --upgrade && \
python3.6 -m pip install setuptools wheel configobj jsonschema requests
# Install gcloud
RUN curl -sSL https://sdk.cloud.google.com > /tmp/gcl &&\
bash /tmp/gcl --disable-prompts &&\
echo "if [ -f '/root/google-cloud-sdk/path.bash.inc' ]; then source '/root/google-cloud-sdk/path.bash.inc'; fi" >> /root/.bashrc &&\
echo "if [ -f '/root/google-cloud-sdk/completion.bash.inc' ]; then source '/root/google-cloud-sdk/completion.bash.inc'; fi" >> /root/.bashrc
ENV PATH /root/google-cloud-sdk/bin:$PATH
# Install gcloud beta components for pubsub
RUN /bin/bash -c "gcloud components install beta --quiet"
# Install gcloud
RUN git clone https://github.com/labdave/CloudConductor.git
ENV PATH /CloudConductor:$PATH
CMD ["CloudConductor"]