Skip to content

Commit 976b7a8

Browse files
Add pybind and upgrade cmake in ubuntu20
1 parent 36c3dc9 commit 976b7a8

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

dockerfiles/alma9-base

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ RUN yum -y install freeglut-devel
2323
# Python
2424
RUN yum -y install python3-pip python3
2525

26+
# python packages
27+
RUN pip3 install scipy matplotlib numpy ipython pybind11
28+
2629
# Qt5
2730
RUN yum -y install qt5-qtbase-devel
2831

dockerfiles/centos8-base

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ RUN yum -y install freeglut-devel
2424
# Python
2525
RUN yum -y install python3-pip python3
2626

27+
# python packages
28+
RUN pip3 install scipy matplotlib numpy ipython pybind11
29+
2730
# Qt5
2831
RUN yum -y install qt5-qtbase-devel
2932

dockerfiles/ubuntu20-base

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ RUN apt-get update
1414
RUN DEBIAN_FRONTEND="noninteractive" apt -y install build-essential
1515

1616
# required packages
17-
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install cmake cmake-curses-gui wget xorg-dev freeglut3-dev qt5-default python2.7-dev libssl-dev liblz4-dev git \
17+
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install cmake cmake-curses-gui wget \
18+
xorg-dev freeglut3-dev qt5-default python2.7-dev libssl-dev liblz4-dev git \
1819
libxerces-c-dev bison flex python3-pip python-tk x11vnc xvfb fvwm libxxhash-dev
1920

2021
# python packages
21-
RUN pip3 install scipy matplotlib numpy ipython
22+
RUN pip3 install scipy matplotlib numpy ipython pybind11
2223

2324
# ROOT
2425
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install libxxhash-dev libtbb-dev
@@ -31,4 +32,8 @@ RUN echo 'source /tmp/root/bin/thisroot.sh' >> ~/.bashrc
3132
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install libhdf5-dev
3233

3334
# Graphics deps
34-
RUN apt install -y qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools xterm
35+
RUN apt install -y qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools xterm
36+
37+
# Upgrade CMAKE
38+
RUN wget https://github.com/Kitware/CMake/releases/download/v3.27.5/cmake-3.27.5-linux-x86_64.sh && \
39+
sh cmake-3.27.5-linux-x86_64.sh --skip-license --prefix=/usr/

dockerfiles/ubuntu22-base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install cmake cmake-curses-gui w
2222
libxerces-c-dev bison flex python3-pip python-tk x11vnc xvfb fvwm
2323

2424
# python packages
25-
RUN pip3 install scipy matplotlib numpy ipython
25+
RUN pip3 install scipy matplotlib numpy ipython pybind11
2626

2727
# ROOT
2828
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install libxxhash-dev libtbb-dev

dockerfiles/ubuntu24-base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install cmake cmake-curses-gui w
2323

2424
# python packages
2525
RUN python3 -m venv /tmp/venv-bdsim
26-
RUN /tmp/venv-bdsim/bin/pip install scipy matplotlib numpy ipython
26+
RUN /tmp/venv-bdsim/bin/pip install scipy matplotlib numpy ipython pybind11
2727

2828
# ROOT
2929
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install libxxhash-dev libtbb-dev

0 commit comments

Comments
 (0)