Skip to content

Commit

Permalink
Cmake container updated for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lelandaisb committed Sep 20, 2023
1 parent 6d375d6 commit 04bafc1
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions dockerfiles/Dockerfile.cmake-cgcore-mgx
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,21 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
#==========================================
WORKDIR /containerws
#==========================================
ENV MIRROR_SCRIPT=mirror.sh
RUN curl -LO https://raw.githubusercontent.com/LIHPC-Computational-Geometry/spack_recipes/main/dockerfiles/${MIRROR_SCRIPT} &&\
chmod +x ${MIRROR_SCRIPT} &&\
./${MIRROR_SCRIPT} build-releases ${SPACK_RECIPES_RELEASE_NUMBER}
#==========================================
# mgx documentation
RUN cd /containerws/src/mgx-* &&\
python3 -m venv .venv &&\
# documentation
RUN apt update &&\
apt install -y graphviz sphinx pip &&\
apt clean &&\
rm -rf /var/lib/apt/lists/*
RUN python3 -m venv .venv &&\
source .venv/bin/activate &&\
pip install sphinx_rtd_theme &&\
pip install breathe &&\
pip install -U pytest &&\
pip install sphinx-copybutton
#==========================================
ENV MIRROR_SCRIPT=mirror.sh
RUN curl -LO https://raw.githubusercontent.com/LIHPC-Computational-Geometry/spack_recipes/main/dockerfiles/${MIRROR_SCRIPT} &&\
chmod +x ${MIRROR_SCRIPT} &&\
./${MIRROR_SCRIPT} build-releases ${SPACK_RECIPES_RELEASE_NUMBER}
#==========================================
ENV LD_LIBRARY_PATH=$INSTALL_DIR/mgx/lib:$INSTALL_DIR/occt-V7_1_0/lib:$INSTALL_DIR/VTK-7.1.1/lib

0 comments on commit 04bafc1

Please sign in to comment.