mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-21 12:25:27 +00:00
docker: Add tools/buildman/requirements.txt to the cache
As we have had this file for a while now, we should include installing and populating our pip cache from here as well. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
9152a51e3c
commit
3d878b83d0
1 changed files with 4 additions and 2 deletions
|
@ -240,12 +240,14 @@ USER uboot:uboot
|
||||||
# COPY / ADD directives don't work as we need them to.
|
# COPY / ADD directives don't work as we need them to.
|
||||||
RUN wget -O /tmp/pytest-requirements.txt https://source.denx.de/u-boot/u-boot/-/raw/master/test/py/requirements.txt
|
RUN wget -O /tmp/pytest-requirements.txt https://source.denx.de/u-boot/u-boot/-/raw/master/test/py/requirements.txt
|
||||||
RUN wget -O /tmp/sphinx-requirements.txt https://source.denx.de/u-boot/u-boot/-/raw/master/doc/sphinx/requirements.txt
|
RUN wget -O /tmp/sphinx-requirements.txt https://source.denx.de/u-boot/u-boot/-/raw/master/doc/sphinx/requirements.txt
|
||||||
|
RUN wget -O /tmp/buildman-requirements.txt https://source.denx.de/u-boot/u-boot/-/raw/master/tools/buildman/requirements.txt
|
||||||
RUN virtualenv -p /usr/bin/python3 /tmp/venv && \
|
RUN virtualenv -p /usr/bin/python3 /tmp/venv && \
|
||||||
. /tmp/venv/bin/activate && \
|
. /tmp/venv/bin/activate && \
|
||||||
pip install -r /tmp/pytest-requirements.txt \
|
pip install -r /tmp/pytest-requirements.txt \
|
||||||
-r /tmp/sphinx-requirements.txt && \
|
-r /tmp/sphinx-requirements.txt \
|
||||||
|
-r /tmp/buildman-requirements.txt && \
|
||||||
deactivate && \
|
deactivate && \
|
||||||
rm -rf /tmp/venv /tmp/pytest-requirements.txt /tmp/sphinx-requirements.txt
|
rm -rf /tmp/venv /tmp/*-requirements.txt
|
||||||
|
|
||||||
# Create the buildman config file
|
# Create the buildman config file
|
||||||
RUN /bin/echo -e "[toolchain]\nroot = /usr" > ~/.buildman
|
RUN /bin/echo -e "[toolchain]\nroot = /usr" > ~/.buildman
|
||||||
|
|
Loading…
Add table
Reference in a new issue