-
Notifications
You must be signed in to change notification settings - Fork 1
/
Singularity-cylc-7.8.1
45 lines (37 loc) · 960 Bytes
/
Singularity-cylc-7.8.1
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
BootStrap: docker
FROM: ubuntu:16.04
%help
This container runs Cylc 7.8.1.
%labels
Maintainer Bruno P. Kinoshita
Version 0.1
Cylc_Version 7.8.1
Python_Version 2.7.12
%post
apt-get update && apt-get --no-install-recommends -y install \
at \
build-essential \
git \
graphviz libgraphviz-dev \
pkg-config \
python-gtk2-dev \
python-pip \
python-wheel \
python-pygraphviz \
python python-dev python-pip \
python-setuptools \
less \
sqlite \
time \
texlive-latex-base \
&& pip install \
pycodestyle \
pyopenssl
git clone --branch 7.8.1 https://github.com/cylc/cylc.git /opt/cylc/
cp /opt/cylc/usr/bin/cylc /usr/local/bin/cylc
apt remove -y --purge build-essential
apt-get clean
apt-get autoclean
rm -rf /var/lib/apt/lists/*
%runscript
exec /usr/local/bin/cylc "$@"