1- FROM ubuntu:22 .04
1+ FROM ubuntu:24 .04
22
33LABEL maintainer=
"David Lung ([email protected] ); Padraig Gleeson ([email protected] )" 44
@@ -24,18 +24,19 @@ ENV DEBIAN_FRONTEND=noninteractive
2424# ###############################################################################
2525# ####### Update/install essential libraries
2626
27- RUN apt-get update && apt-get install -y --no-install-recommends apt-utils \
27+ RUN apt-get update
28+ RUN apt-get install -y --no-install-recommends apt-utils \
2829 wget nano htop build-essential make git automake autoconf \
29- g++ rpm libtool libncurses5-dev zlib1g-dev bison flex lsb-core \
30+ g++ rpm libtool libncurses5-dev zlib1g-dev bison flex \
3031 sudo xorg openbox x11-xserver-utils \
31- libxext-dev libncurses-dev python3-dev mercurial \
32- freeglut3-dev libglu1-mesa-dev libglew-dev python3-dev python3-pip python3-lxml python3-scipy python3-tk \
32+ libxext-dev libncurses-dev mercurial \
33+ freeglut3-dev libglu1-mesa-dev libglew-dev python3-dev python3-pip \
3334 kmod dkms linux-source linux-headers-generic \
3435 maven openjdk-8-jdk \
35- python3-setuptools python3-yaml libnuma1 \
36+ libnuma1 \
3637 openmpi-bin libopenmpi-dev \
37- libgl1-mesa-glx libgl1-mesa-dri libfreetype6-dev \
38- libxft-dev python3-matplotlib unzip ffmpeg xvfb tmux
38+ libgl1 libglx-mesa0 libgl1-mesa-dri libfreetype6-dev \
39+ libxft-dev unzip ffmpeg xvfb tmux
3940
4041# RUN sudo pip install --upgrade pip
4142
@@ -45,37 +46,32 @@ RUN sudo usermod -a -G video $USER
4546ENV HOME=/home/$USER
4647WORKDIR $HOME
4748
48- # ### TODO: check that this is the best way to switch to py3...
49- RUN sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
50- RUN sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10
5149
5250
5351# ###############################################################################
5452# ####### Install NEURON simulator
5553
56- RUN sudo pip3 install neuron==8.1.0
54+ RUN sudo pip install neuron==8.2.6 --break-system-packages
5755
5856
5957# ###############################################################################
6058# ####### Install c302 for building neuronal network models
6159
6260RUN git clone https://github.com/openworm/c302.git && \
6361 cd c302 && \
64- git checkout ow-0.9.5 && \
65- sudo pip install .
62+ git checkout development && \
63+ sudo pip install . --break-system-packages
6664
6765# Note: pyNeuroML installed with the above library
6866
69- RUN pip3 install owmeta-core==0.13.5
70- RUN owm bundle remote --user add ow 'https://raw.githubusercontent.com/openworm/owmeta-bundles/master/index.json'
7167
7268
7369# ###############################################################################
7470# ####### Install Sibernetic for the worm body model
7571
7672RUN git clone https://github.com/openworm/sibernetic.git && \
7773 cd sibernetic && \
78- git checkout ow-0.9.5 # fixed to a specific branch
74+ git checkout ow-0.9.6 # fixed to a specific branch
7975
8076
8177# ###############################################################################
@@ -85,6 +81,8 @@ ENV C302_HOME=$HOME/c302/c302
8581ENV SIBERNETIC_HOME=$HOME/sibernetic
8682ENV PYTHONPATH=$HOME/c302:$SIBERNETIC_HOME
8783
84+ ENV NEURON_MODULE_OPTIONS=-nogui
85+
8886
8987# ###############################################################################
9088# ####### Install AMD's OpenCL Drivers (AMD-APP-SDK 3.0)
0 commit comments