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
22b2cbe9
Commit
22b2cbe9
authored
Jun 17, 2018
by
Steffen Vogel
🎅🏼
Browse files
docker: use all available cores during build of docker image
Former-commit-id:
4c040b4e
parent
1278648d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Packaging/Docker/Dockerfile
View file @
22b2cbe9
...
@@ -7,7 +7,7 @@ RUN rm -rf /dpsim/build && mkdir /dpsim/build
...
@@ -7,7 +7,7 @@ RUN rm -rf /dpsim/build && mkdir /dpsim/build
WORKDIR
/dpsim/build
WORKDIR
/dpsim/build
RUN
cmake
-DBUILD_EXAMPLES
=
OFF
-DCPACK_GENERATOR
=
RPM ..
RUN
cmake
-DBUILD_EXAMPLES
=
OFF
-DCPACK_GENERATOR
=
RPM ..
RUN
make
-j
2
package
RUN
make
-j
$(
nproc
)
package
FROM
fedora:28
FROM
fedora:28
...
@@ -29,4 +29,4 @@ RUN dnf -y install /tmp/*.rpm
...
@@ -29,4 +29,4 @@ RUN dnf -y install /tmp/*.rpm
ADD
requirements.txt .
ADD
requirements.txt .
RUN
pip3
install
-r
requirements.txt
RUN
pip3
install
-r
requirements.txt
CMD
python3
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