Docker: update debian and sphinx-doc version

the update of sphinx repair a dependency problem with docutil and the new vyos extension
This commit is contained in:
Robert Göhler 2020-01-04 13:28:25 +01:00
parent 5b3160976a
commit 0326ed00ae

View File

@ -1,7 +1,7 @@
# Must be run with --privileged flag
# Recommended to run the container with a volume mapped
# in order to easy exprort images built to "external" world
FROM debian:stretch
FROM debian:buster
LABEL authors="VyOS Maintainers <maintainers@vyos.io>"
ENV DEBIAN_FRONTEND noninteractive
@ -16,9 +16,7 @@ RUN apt-get update && apt-get install -y \
git \
mc \
make \
python3-sphinx \
python3-pip \
python-sphinx-rtd-theme \
latexmk \
texlive-latex-recommended \
texlive-fonts-recommended \
@ -29,7 +27,10 @@ RUN apt-get update && apt-get install -y \
curl \
dos2unix
RUN pip3 install sphinx-autobuild
RUN pip3 install Sphinx
RUN pip3 install sphinx-rtd-theme
# Cleanup
RUN rm -rf /var/lib/apt/lists/*