Skip to content

Commit 6523f56

Browse files
authored
Update container build to fix "graphviz" compilation issue. (#25)
Closes #24. Signed-off-by: Thomas Mansencal <[email protected]>
1 parent 9a4ef98 commit 6523f56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN git clone https://github.com/AcademySoftwareFoundation/OpenColorIO \
2626
# LaTeX Dependencies for Sphinx Generated PDF
2727
WORKDIR /tmp
2828
COPY ./utilities/resources/texlive.profile .
29-
RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \
29+
RUN wget https://mirrors.rit.edu/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz \
3030
&& tar -xvf install-tl-unx.tar.gz \
3131
&& cd install-tl-* \
3232
&& perl install-tl --profile ../texlive.profile \
@@ -52,6 +52,7 @@ RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \
5252
# Python Requirements
5353
WORKDIR /tmp
5454
COPY ./requirements.txt /tmp
55+
RUN sed -i 's/<cgraph.h>/"cgraph.h"/g' /usr/include/graphviz/types.h
5556
RUN pip install -r requirements.txt \
5657
&& rm /tmp/requirements.txt
5758

0 commit comments

Comments
 (0)