Dockerfile 1.04 KB
Newer Older
1
FROM fedora:27
Steffen Vogel's avatar
fix CI    
Steffen Vogel committed
2
3
4
5
6
7
8
9
10
11

LABEL \
	org.label-schema.schema-version = "1.0" \
	org.label-schema.name = "DPsim" \
	org.label-schema.license = "GPL-3.0" \
	org.label-schema.vendor = "Institute for Automation of Complex Power Systems, RWTH Aachen University" \
	org.label-schema.author.name = "Steffen Vogel" \
	org.label-schema.author.email = "stvogel@eonerc.rwth-aachen.de" \
	org.label-schema.url = "http://fein-aachen.org/projects/dpsim/" \
	org.label-schema.vcs-url = "https://git.rwth-aachen.de/acs/core/simulation/DPsim"
12

Georg Martin Reinke's avatar
fix CI    
Georg Martin Reinke committed
13
14
15
16
ADD https://villas.fein-aachen.org/packages/villas.repo /etc/yum.repos.d/

RUN dnf -y update

Steffen Vogel's avatar
fix CI    
Steffen Vogel committed
17
# Toolchain
18
RUN dnf -y install \
19
	git \
20
	gcc-c++ gdb \
Steffen Vogel's avatar
Steffen Vogel committed
21
	redhat-rpm-config \
22
	rpmdevtools \
Steffen Vogel's avatar
fix CI    
Steffen Vogel committed
23
	make cmake \
Steffen Vogel's avatar
Steffen Vogel committed
24
	doxygen \
Steffen Vogel's avatar
Steffen Vogel committed
25
	graphviz \
Steffen Vogel's avatar
Steffen Vogel committed
26
	pandoc \
27
	python3-pip
Steffen Vogel's avatar
fix CI    
Steffen Vogel committed
28

29
30
# Install some debuginfos
RUN dnf -y debuginfo-install \
31
32
	python3 \
	villas-node
33

Steffen Vogel's avatar
fix CI    
Steffen Vogel committed
34
35
# Dependencies
RUN dnf -y install \
36
	python3-devel \
37
	eigen3-devel \
Steffen Vogel's avatar
Steffen Vogel committed
38
39
	villas-node-devel \
	libcimpp16v29a
Georg Martin Reinke's avatar
Georg Martin Reinke committed
40

Steffen Vogel's avatar
fix CI    
Steffen Vogel committed
41
# Python Packages
42
43
ADD requirements.txt .
RUN pip3 install -r requirements.txt
44
45

ENV LD_LIBRARY_PATH /usr/local/lib64