vide_public/container/Dockerfile
Guilhem Lavaux affb56ff48 Merged in python3 (pull request #5)
Port to python3, large code cleanup

* Fixed command line for cosmotool

* Fix path

* Dump command line is log file

* Fix important typo

* Modify paths for example

* Fix path again

* Use an explicit constructor

* Change file to open (python 2->3)

* python3 fix for xrange in periodic_kdtree.py

* Fixed index for Np, numPart, numZones, numZonesTot, partID, zoneID in catalogUtil.py
2020-12-29 08:56:33 +00:00

17 lines
501 B
Docker

FROM debian:stable
RUN apt update && apt install -y git gcc g++ python3 python3-dev python3-pip python3-numpy python3-setuptools cmake libz-dev coreutils m4
WORKDIR /build
###ADD vide_key_ssh .
ENV GIT_SSH_COMMAND='ssh -i /ssh-key/vide_key_ssh -o "StrictHostKeyChecking no"'
RUN pip3 install --no-cache-dir 'astropy<4.1'
RUN git clone --recursive git@bitbucket.org:glavaux/vide_next.git
WORKDIR /build/vide_next
RUN git checkout python3
#RUN python3 setup.py build
RUN pip3 install --verbose .