added more infos in README, optimized Dockerfile

This commit is contained in:
Markus Rosenstihl 2025-01-19 13:00:36 +01:00
parent 2d25c87434
commit 04ad3ced03
2 changed files with 8 additions and 5 deletions

View File

@ -6,10 +6,9 @@ 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 update && apt-get -y install apt-utils
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 apt-get -y install git ipython 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

View File

@ -1,2 +1,6 @@
podman build -t test .
podman run --env DISPLAY=$DISPLAY --network=host -t localhost/test:latest /opt/damaris/bin/DAMARIS
# Instructions
1. Install podman. If you wnat to use it as a normal user make it rootless.
2. Build the container: ``podman build -t test .``
3. Run the container: ``podman run --env DISPLAY=$DISPLAY --network=host -t localhost/test:latest /opt/damaris/bin/DAMARIS``
With `-v inside_container:podman_host`` you can map directories inside the container.