forked from HEPData/hepdata-converter-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (22 loc) · 831 Bytes
/
Dockerfile
File metadata and controls
27 lines (22 loc) · 831 Bytes
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
# Based on ROOT project's Ubuntu image which uses Python 3.12
FROM rootproject/root:6.32.04-ubuntu24.04
ENV YODA_VERSION 2.1.0
RUN apt-get -y update && apt-get install -y \
git \
dpkg-dev \
make \
cmake \
binutils \
libboost-all-dev \
wget \
python3-pip \
python3-setuptools \
# required by matplotlib
libfreetype6-dev \
pkg-config \
libpng-dev \
libyaml-dev
RUN /bin/bash -c "source /root/.bashrc && cd /tmp && wget -O YODA-$YODA_VERSION.tar.gz https://yoda.hepforge.org/downloads/?f=YODA-$YODA_VERSION.tar.gz && tar -xzf YODA-$YODA_VERSION.tar.gz && cd YODA-$YODA_VERSION && PYTHON=/usr/bin/python3 ./configure --disable-root && make -j4 && make -j4 install && cd ../"
RUN pip config set global.break-system-packages true
ENV LD_LIBRARY_PATH /usr/local/lib
ENV PYTHONPATH $PYTHONPATH:/usr/local/lib/python3.12/site-packages