soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / util / docker / doc.coreboot.org / Dockerfile
blobfdb4bbeb5f3a21bae6d00c11cc6f7794bdbeffb2
1 FROM alpine:3.19.1
3 COPY makeSphinx.sh /makeSphinx.sh
5 RUN \
6         apk add --no-cache \
7                 python3 \
8                 py3-pip \
9                 make \
10                 bash \
11                 git \
12                 ttf-dejavu \
13                 fontconfig \
14         && chmod 755 /makeSphinx.sh
16 RUN adduser -D coreboot
18 USER coreboot
20 ENV VIRTUAL_ENV="/home/coreboot/python3"
21 ENV PATH=$VIRTUAL_ENV/bin:$PATH:/home/coreboot/.local/bin
23 RUN \
24         python3 -m venv $VIRTUAL_ENV && \
25         echo "source ${VIRTUAL_ENV}/bin/activate"  >> /home/coreboot/.bashrc && \
26         pip3 install --upgrade --no-cache-dir pip && \
27         pip3 install --no-cache-dir \
28                 jinja2==3.1.3 \
29                 myst-parser==2.0.0 \
30                 sphinx===7.2.6 \
31                 sphinx_autobuild===2024.2.4 \
32                 sphinx_rtd_theme===2.0.0
34 VOLUME /data-in /data-out
36 # For Sphinx-autobuild
37 # Port 8000 - HTTP server
38 # Port 35729 - websockets connection to allow automatic browser reloads after each build
39 EXPOSE 8000 35729
41 ENTRYPOINT ["/bin/bash", "/makeSphinx.sh"]
42 CMD []