forked from simonsobs/PSpipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (28 loc) · 1.18 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
FROM ubuntu:22.04
MAINTAINER Xavier Garrido <[email protected]>
RUN apt-get update && apt-get install -y \
automake \
build-essential \
emacs \
gfortran \
git \
libcfitsio-dev \
libfftw3-dev \
libgsl-dev \
libchealpix-dev \
libopenmpi-dev \
python3 \
python3-pip \
vim \
wget
RUN ln -sfn /usr/bin/python3 /usr/bin/python
RUN useradd -m -U pspipe
USER pspipe
ENV USER pspipe
ENV PATH "/home/pspipe/.local/bin:${PATH}"
WORKDIR /home/pspipe
RUN python3 -m pip install --user --upgrade pip wheel
RUN python3 -m pip install --user --upgrade numpy cython ipython jupyter
RUN python3 -m pip install --user --upgrade astropy astropy-helpers healpy mpi4py numba toml
RUN python3 -m pip install --user --upgrade pysm3
RUN python3 -m pip install --user git+https://github.com/simonsobs/PSpipe.git