added stretch container to be able to run old damaris on new machines

This commit is contained in:
Markus Rosenstihl 2025-01-19 12:56:12 +01:00
parent bd5320d468
commit 2d25c87434
5 changed files with 27 additions and 0 deletions

1
podman/90damaris.conf Normal file
View File

@ -0,0 +1 @@
PYTHONPATH=$PYTHONPATH:/opt/damaris/lib/python

18
podman/Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM debian:stretch
LABEL maintainer="markus.rosenstihl@pkm.tu-darmstadt.de"
ARG DEBIAN_FRONTEND=noninteractive
COPY sources.list /etc/apt/sources.list
COPY dependencies.txt dependencies.txt
COPY 90damaris.conf /etc/environment.d/
RUN apt-get -y update
RUN apt-get -y dist-upgrade
RUN apt-get -y install apt-utils git ipython
RUN apt-get -y install python-gtk2 python-numpy python-scipy python-tables python-matplotlib python-xdg python-gtksourceview2
RUN git clone https://gitea.pkm.physik.tu-darmstadt.de/IPKM/python-damaris.git
RUN cd python-damaris && python setup.py install --home=/opt/damaris
#RUN python -m pip install --upgrade pip
#RUN pip2 install -r dependencies.txt
#COPY . .

2
podman/README.md Normal file
View File

@ -0,0 +1,2 @@
podman build -t test .
podman run --env DISPLAY=$DISPLAY --network=host -t localhost/test:latest /opt/damaris/bin/DAMARIS

3
podman/dependencies.txt Normal file
View File

@ -0,0 +1,3 @@
#numpy
#tables
#scipy

3
podman/sources.list Normal file
View File

@ -0,0 +1,3 @@
deb http://archive.debian.org/debian/ stretch main contrib non-free
deb http://archive.debian.org/debian/ stretch-proposed-updates main contrib non-free
deb http://archive.debian.org/debian-security stretch/updates main contrib non-free