From e1194184282a9d2f82cfa8cd380678d82a369ee2 Mon Sep 17 00:00:00 2001 From: Guido Sterbini <guido.sterbini@cern.ch> Date: Wed, 1 Sep 2021 18:06:58 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 574fcc4..ee33757 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 -- GitLab