Skip to content

Commit

Permalink
Added Dockerfile.docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwfncar committed Mar 13, 2024
1 parent 26c1d27 commit bd90cd0
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions docker/Dockerfile.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
FROM fedora:37

RUN dnf -y update \
&& dnf -y install \
doxygen \
gcc-c++ \
gcc \
gdb \
git \
cmake \
make \
lcov \
valgrind \
python3 \
python3-pip \
&& dnf clean all

COPY . /musica/

RUN pip3 install -r /musica/docs/requirements.txt

ARG SUFFIX=""
ENV SWITCHER_SUFFIX=$SUFFIX

RUN echo "The suffix is '$SWITCHER_SUFFIX'"

RUN mkdir /build \
&& cd /build \
&& cmake -D MUSICA_BUILD_DOCS=ON \
/musica \
&& make docs

WORKDIR /build

0 comments on commit bd90cd0

Please sign in to comment.