osmith has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/29913 )
Change subject: debian-buster-jenkins: add more pysim related deps ......................................................................
debian-buster-jenkins: add more pysim related deps
Install all depends to properly generate the manuals. Otherwise it prints errors like the following and the resulting manual has empty sections: /build/docs/shell.rst:329: ERROR: Failed to import "LinFixedEF" from "pySim.filesystem". No module named 'smartcard'
Get the requirements.txt directly from the git repository, so we don't need to update the list of dependencies here. Remove the dependencies from the list that I added recently for pysim, and which are are also in requirements.txt.
Add swig, as otherwise pyscard fails to install.
Related: OS#5497 Change-Id: I13a0b0dc8be81bf4034b08b1ef1100f1420fa3a1 --- M debian-buster-jenkins/Dockerfile 1 file changed, 4 insertions(+), 4 deletions(-)
Approvals: osmith: Looks good to me, approved Jenkins Builder: Verified
diff --git a/debian-buster-jenkins/Dockerfile b/debian-buster-jenkins/Dockerfile index ca11719..44c2ee3 100644 --- a/debian-buster-jenkins/Dockerfile +++ b/debian-buster-jenkins/Dockerfile @@ -143,14 +143,14 @@ 'git+https://github.com/eriwen/lcov-to-cobertura-xml.git' \ 'git+https://github.com/osmocom/sphinx-argparse@master#egg=sphinx-argparse' \ 'git+https://github.com/podshumok/python-smpplib.git' \ - 'construct>=2.9.51' \ 'pydbus' \ 'pylint' \ 'pysispm' \ - 'pytlv' \ - 'pyyaml>=5.1' \ 'sphinx' \ - 'sphinxcontrib-napoleon' + 'sphinxcontrib-napoleon' \ + 'swig' +ADD https://gitea.osmocom.org/sim-card/pysim/raw/branch/master/requirements.txt /tmp/pysim_requirements.txt +RUN pip3 install -r /tmp/pysim_requirements.txt
# match the outside user RUN useradd --uid=1000 build