Revision 9887848e690d2cc564d5f02d2acdab222cfdce53 authored by André Martins on 01 September 2022, 15:08:45 UTC, committed by André Martins on 01 September 2022, 16:55:01 UTC
Signed-off-by: André Martins <andre@cilium.io>
1 parent d7264ff
Dockerfile
FROM docker.io/library/python:3.10.4-alpine3.15 AS docs-base
LABEL maintainer="maintainer@cilium.io"
RUN apk add --no-cache --virtual --update \
aspell-en \
nodejs \
npm \
bash \
ca-certificates \
enchant2 \
enchant2-dev \
git \
libc6-compat \
py-pip \
python3 \
py3-sphinx \
gcc \
musl-dev \
&& true
FROM docs-base AS docs-builder
ADD ./requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt
ENV HOME=/tmp
ENV READTHEDOCS_VERSION=$READTHEDOCS_VERSION
ENV MAKE_GIT_REPO_SAFE=1
## Workaround odd behaviour of sphinx versionwarning extension. It wants to
## write runtime data inside a system directory.
## We do rely on this extension, so we cannot just drop it.
RUN install -m 0777 -d /usr/local/lib/python3.10/site-packages/versionwarning/_static/data
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...