1
1
# sodetlib dockerfile.
2
- FROM tidair/pysmurf-client:v5.0.0
2
+ FROM tidair/pysmurf-client:v5.0.3
3
3
4
4
# ################################################################
5
5
# SPT3G Install
@@ -23,6 +23,12 @@ RUN apt-get install -y \
23
23
rsync \
24
24
cmake \
25
25
libblas-dev \
26
+ # so3g reqs
27
+ automake \
28
+ gfortran \
29
+ build-essential \
30
+ libbz2-dev \
31
+ libopenblas-dev \
26
32
&& rm -rf /var/lib/apt/lists/*
27
33
28
34
RUN git clone https://github.com/CMB-S4/spt3g_software.git
@@ -40,15 +46,10 @@ ENV PYTHONPATH /usr/local/src/spt3g_software/build:${PYTHONPATH}
40
46
# SO3G Install
41
47
# ################################################################
42
48
WORKDIR /usr/local/src
43
- RUN git clone https://github.com/simonsobs/so3g.git
44
- WORKDIR /usr/local/src/so3g
45
49
ENV LANG C.UTF-8
46
- RUN apt-get update
47
- RUN apt-get install -y build-essential \
48
- automake \
49
- gfortran \
50
- libopenblas-dev
51
50
51
+ RUN git clone https://github.com/simonsobs/so3g.git
52
+ WORKDIR /usr/local/src/so3g
52
53
RUN pip3 install -r requirements.txt
53
54
54
55
ENV Spt3g_DIR /usr/local/src/spt3g_software
@@ -82,7 +83,6 @@ RUN pip3 install ./ocs
82
83
# Sets ocs configuration environment
83
84
ENV OCS_CONFIG_DIR=/config
84
85
85
-
86
86
# ################################################################
87
87
# sodetlib Install
88
88
# ################################################################
@@ -92,3 +92,5 @@ WORKDIR /sodetlib
92
92
RUN pip3 install -e .
93
93
RUN pip3 install -r requirements.txt
94
94
95
+ # This is to get the leap-second download out of the way
96
+ RUN python3 -c "import so3g"
0 commit comments