Skip to content

Commit

Permalink
Fix "make -C Documentation builder-image"
Browse files Browse the repository at this point in the history
Use this workaround until the issue gets fixed:

yaml/pyyaml#601 (comment)

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
  • Loading branch information
michi-covalent committed Jul 17, 2023
1 parent 87cda2d commit fad29b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ RUN apk add --no-cache --virtual --update \

FROM docs-base AS docs-builder
ADD ./requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt
# Workaround for https://github.com/yaml/pyyaml/issues/601
RUN pip install "Cython<3.0" pyyaml --no-build-isolation && pip install -r /tmp/requirements.txt

ENV HOME=/tmp
ENV READTHEDOCS_VERSION=$READTHEDOCS_VERSION
Expand Down

0 comments on commit fad29b3

Please sign in to comment.