Skip to content
Snippets Groups Projects
Commit c16e0cf2 authored by Richard Marston's avatar Richard Marston
Browse files

Install expat dependency and execute setup

parent a876bf4e
No related branches found
No related tags found
No related merge requests found
......@@ -37,8 +37,23 @@ RUN dnf -y install \
villas-node-devel \
libcimpp16v29a
RUN dnf -y install \
pkg-config \
expat \
expat-devel
# Python Packages
ADD requirements.txt .
RUN pip3 install -r requirements.txt
ENV LD_LIBRARY_PATH /usr/local/lib64
RUN useradd -m dpsim
COPY Source/ /home/dpsim/Source/
COPY CMake/ /home/dpsim/CMake/
COPY Documentation/ /home/dpsim/Documentation/
COPY Examples/ /home/dpsim/Examples/
COPY Dependencies/ /home/dpsim/Dependencies/
COPY CMakeLists.txt COPYING.md README.md setup.py /home/dpsim/
WORKDIR /home/dpsim
RUN python3 setup.py install
  • Markus Mirz @markus.mirz ·
    Contributor

    @stvogel Macht es Sinn diesen branch zu mergen?

  • Developer

    Ja ich denke das macht sinn. Bisher habe ich die Dockerfiles nie genutzt um DPsim selber zu bauen. Sondern lediglich um ein System mit allen Tools und Abhängigkeiten zu haben.

    Aber ich denke das ist gut so. In villas haben wir zwei Dockerfiles:

    • Dockerfile: Baut VILLASnode sodass es direkt nutzbar ist
    • Dockerfile.dev: Baut nur ein System das zum Enticeln genutzt werden kann.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment