Skip to content

Commit 7029ae5

Browse files
cryojlashner
cryo
authored andcommitted
Adds so3g to sodetlib docker
Also updates pysmurf to v5.0.3
1 parent c685367 commit 7029ae5

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

Dockerfile

+11-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# sodetlib dockerfile.
2-
FROM tidair/pysmurf-client:v5.0.0
2+
FROM tidair/pysmurf-client:v5.0.3
33

44
#################################################################
55
# SPT3G Install
@@ -23,6 +23,12 @@ RUN apt-get install -y \
2323
rsync \
2424
cmake \
2525
libblas-dev \
26+
# so3g reqs
27+
automake \
28+
gfortran \
29+
build-essential \
30+
libbz2-dev \
31+
libopenblas-dev \
2632
&& rm -rf /var/lib/apt/lists/*
2733

2834
RUN git clone https://github.com/CMB-S4/spt3g_software.git
@@ -40,15 +46,10 @@ ENV PYTHONPATH /usr/local/src/spt3g_software/build:${PYTHONPATH}
4046
# SO3G Install
4147
#################################################################
4248
WORKDIR /usr/local/src
43-
RUN git clone https://github.com/simonsobs/so3g.git
44-
WORKDIR /usr/local/src/so3g
4549
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
5150

51+
RUN git clone https://github.com/simonsobs/so3g.git
52+
WORKDIR /usr/local/src/so3g
5253
RUN pip3 install -r requirements.txt
5354

5455
ENV Spt3g_DIR /usr/local/src/spt3g_software
@@ -82,7 +83,6 @@ RUN pip3 install ./ocs
8283
# Sets ocs configuration environment
8384
ENV OCS_CONFIG_DIR=/config
8485

85-
8686
#################################################################
8787
# sodetlib Install
8888
#################################################################
@@ -92,3 +92,5 @@ WORKDIR /sodetlib
9292
RUN pip3 install -e .
9393
RUN pip3 install -r requirements.txt
9494

95+
# This is to get the leap-second download out of the way
96+
RUN python3 -c "import so3g"

0 commit comments

Comments
 (0)