Skip to content

Instantly share code, notes, and snippets.

@eguiraud
Created August 17, 2020 08:17
Show Gist options
  • Save eguiraud/86817483935625f1f7a4fe9db065958a to your computer and use it in GitHub Desktop.
Save eguiraud/86817483935625f1f7a4fe9db065958a to your computer and use it in GitHub Desktop.
Docker image that mimics ROOT's conda nightly builds (and reproduces their failing tests)
FROM condaforge/linux-anvil-comp7:latest
WORKDIR /home/conda
RUN source /opt/conda/bin/activate && conda update -y --all && \
conda create -n root-nightly -c conda-forge -c https://root.cern/download/conda-nightly/latest root-nightly cmake make git
RUN source /opt/conda/bin/activate && conda activate root-nightly && \
git clone https://github.com/root-project/roottest.git && mkdir roottest_build && cd roottest_build && \
cmake -DPYTHON_EXECUTABLE_Development_Main=$(which python) -Ddataframe=ON ../roottest && cmake --build . -- -j4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment