Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Power System Simulation and Optimization
DPsim
DPsim
Commits
8589c7b4
Commit
8589c7b4
authored
May 15, 2018
by
Steffen Vogel
🎅🏼
Browse files
docker: add Dockerfile for building a ready-to-run version of DPsim
parent
0a12cc42
Changes
2
Hide whitespace changes
Inline
Side-by-side
.dockerignore
View file @
8589c7b4
build/
\ No newline at end of file
build/
build_linux/
build_osx/
Dependencies/libcps/build/
Dependencies/libcps/build_osx/
Dependencies/libcps/build_linux/
Packaging/
Packaging/Docker/Dockerfile
0 → 100644
View file @
8589c7b4
# rwthacs/dpsim-dev is built by dpsim-git/Packaging/Docker/Dockerfile.dev
FROM
rwthacs/dpsim-dev
AS
builder
COPY
. /dpsim/
RUN
rm
-rf
/dpsim/build
&&
mkdir
/dpsim/build
WORKDIR
/dpsim/build
RUN
cmake
-DBUILD_EXAMPLES
=
OFF
-DCPACK_GENERATOR
=
RPM ..
RUN
make
-j2
package
FROM
fedora:28
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"
ADD
https://villas.fein-aachen.org/packages/villas.repo /etc/yum.repos.d/
COPY
--from=builder /dpsim/build/*.rpm /tmp
RUN
dnf
-y
install
/tmp/
*
.rpm
ADD
requirements.txt .
RUN
pip3
install
-r
requirements.txt
CMD
python3
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment