Skip to content

Commit

Permalink
Added sotodlib installation to ocs-util
Browse files Browse the repository at this point in the history
  • Loading branch information
jlashner committed Jun 17, 2020
1 parent 7ac2984 commit 4a23970
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docker/ocs-util/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ FROM ocs:latest
COPY requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt

COPY setup_sotodlib.sh /tmp/setup_sotodlib.sh
RUN sh /tmp/setup_sotodlib.sh

USER ocs:ocs

ENV JUPYTER_CONFIG_DIR /home/ocs/.jupyter
Expand Down
9 changes: 8 additions & 1 deletion docker/ocs-util/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@

jupyter
scipy

# Requirements for sotodlib
quaternionarray
toml

# Requirement for sotoddb
h5py
14 changes: 14 additions & 0 deletions docker/ocs-util/setup_sotodlib.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
cd /app_lib

git clone https://github.com/simonsobs/sotoddb.git
git clone https://github.com/simonsobs/sotodlib.git

# Installs sotoddb. Will take this out when it's no longer needed
cd sotoddb
echo "Installing sotoddb..."
pip3 install .

cd /app_lib/sotodlib
echo "Installing sotodlib..."
git checkout tags/v0.3.0
pip3 install -e .

0 comments on commit 4a23970

Please sign in to comment.