diff --git a/Dockerfile b/Dockerfile index 574fcc44ffd72aeab58f0c3feb8f9ae79662f42e..ee33757cc90b5a12bdd6bd901dc321cc653c5e5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # reference: https://hub.docker.com/_/ubuntu/ -FROM ubuntu:focal-20210325 +FROM ubuntu:focal ARG DEBIAN_FRONTEND=noninteractive @@ -109,7 +109,7 @@ RUN chown $UID:$GID /tmp/environment.yml /tmp/requirements.txt \ USER $USER -ENV MINICONDA_VERSION 4.7.12 +ENV MINICONDA_VERSION latest ENV CONDA_DIR $HOME/miniconda3 ENV PATH=$CONDA_DIR/bin:$PATH @@ -162,6 +162,16 @@ RUN conda activate $ENV_PREFIX \ && git clone https://github.com/PyCOMPLETE/FillingPatterns.git \ && pip install ./FillingPatterns \ && python -m pip install -U --index-url https://acc-py-repo.cern.ch/repository/vr-py-releases/simple --trusted-host acc-py-repo.cern.ch pytimber \ + && git clone https://github.com/xsuite/xobjects \ + && pip install -e xobjects \ + && git clone https://github.com/xsuite/xline \ + && pip install -e xline \ + && git clone https://github.com/xsuite/xpart \ + && pip install -e xpart \ + && git clone https://github.com/xsuite/xtrack \ + && pip install -e xtrack \ + && git clone https://github.com/xsuite/xfields \ + && pip install -e xfields \ && python -m cmmnbuild_dep_manager resolve \ && conda deactivate