Commit 60343d16 authored by Jonas Kaufmann's avatar Jonas Kaufmann Committed by Antoine Kaufmann
Browse files

docker: install required Python packages to build documentation

Otherwise, `make documentation` fails in the devcontainer.
parent 43c9b975
breathe
sphinx
sphinx-rtd-theme
......@@ -30,8 +30,6 @@ RUN apt-get update \
python-is-python3 \
python3-dev \
python3-pip \
python3-sphinx \
python3-sphinx-rtd-theme \
rsync \
scons \
unzip \
......@@ -40,7 +38,7 @@ RUN apt-get update \
vim \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /tmp/requirements.txt
COPY verilator.patch /tmp/
RUN cd /tmp \
&& git clone -b v4.010 https://github.com/verilator/verilator \
......
......@@ -33,7 +33,7 @@ DOCKER_IMAGES := simbricks/simbricks-build simbricks/simbricks-base \
REQUIREMENTS_TXT := $(d)requirements.txt
$(REQUIREMENTS_TXT):
cp requirements.txt $@
cat requirements.txt doc/requirements.txt > $@
docker-images: $(REQUIREMENTS_TXT)
docker build -t \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment