-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
51 lines (43 loc) · 1.5 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
47
48
49
50
51
FROM fedora:27
RUN dnf install -y \
autoconf \
automake \
gcc \
gcc-c++ \
graphviz-devel \
hostname \
ImageMagick \
libffi-devel \
less \
libtool \
nano \
openssl \
openssl-devel \
openssh-clients \
python-devel \
redhat-rpm-config \
unzip \
wget \
which \
git \
;
RUN curl https://bootstrap.pypa.io/get-pip.py | python - && \
curl -sSL https://get.docker.com/builds/Linux/x86_64/docker-1.9.1 -o /usr/bin/docker && chmod +x /usr/bin/docker && \
curl -sSL https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 -o /usr/bin/jq && chmod +x /usr/bin/jq
RUN dnf install -y nodejs
RUN npm install -g bower; echo '{ "allow_root": true }' > /root/.bowerrc
RUN pip install \
decorator networkx functools32 jsonschema jsonref click jsonpointer ply jsonpath-rw jq psutil \
funcsigs pbr mock checksumdir pyparsing pydot2 pygraphviz pydotplus itsdangerous MarkupSafe \
Jinja2 Werkzeug flask pyOpenSSL
RUN echo bus55t1211
ARG WFLOW_BACKEND_TAG=master
RUN pip install kubernetes
RUN echo bust1
RUN pip install https://github.com/recast-hep/wflow-backend/archive/${WFLOW_BACKEND_TAG}.zip --process-dependency-links
WORKDIR /yadage_plugin
COPY yadage_requirements.yml /yadage_plugin/yadage_requirements.yml
RUN pip install -r yadage_requirements.yml
COPY . /yadage_plugin
RUN cd wflowyadageworker/resources/server_static; bower install
RUN pip install -e . --process-dependency-links