-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dedicated Dockerfile for buiding Doxygen documentation (#599)
- Loading branch information
Showing
2 changed files
with
51 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Dockerfile for Storm's Doxygen documentation | ||
############################################## | ||
# The Docker image can be built by executing: | ||
# docker build -t yourusername/storm . | ||
|
||
# Set base image | ||
FROM movesrwth/storm-dependencies:latest | ||
MAINTAINER Matthias Volk <[email protected]> | ||
|
||
# Specify configurations | ||
# These configurations can be set from the commandline with: | ||
# --build-arg <config_name>=<value> | ||
# Specify number of threads to use for parallel compilation | ||
ARG no_threads=1 | ||
|
||
|
||
# Install dependencies | ||
###################### | ||
RUN apt-get update && apt-get upgrade -qqy && apt-get install -qq -y \ | ||
doxygen \ | ||
graphviz | ||
|
||
# Build Doxygen documentation | ||
############################# | ||
RUN mkdir /opt/storm | ||
WORKDIR /opt/storm | ||
|
||
# Copy the content of the current local Storm repository into the Docker image | ||
COPY . . | ||
|
||
# Switch to build directory | ||
RUN mkdir -p /opt/storm/build | ||
WORKDIR /opt/storm/build | ||
|
||
# Configure Storm | ||
RUN cmake .. -DCMAKE_BUILD_TYPE=Release \ | ||
-DSTORM_PORTABLE=ON \ | ||
-DSTORM_USE_GUROBI=ON \ | ||
-DSTORM_USE_SOPLEX=ON \ | ||
-DSTORM_USE_SPOT_SYSTEM=ON | ||
|
||
# Build Doxygen | ||
RUN make doc -j $no_threads |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters