grim/containers/reviewboard

Build our own lxml as the binary wheel can have some issues
default tip
3 months ago, Gary Kramlich
856f2d784e8c
Parents 6cd31be56c03
Children
Build our own lxml as the binary wheel can have some issues

See the following for more information

https://github.com/SAML-Toolkits/python3-saml/pull/323
https://bugs.launchpad.net/lxml/+bug/1960668
https://github.com/SAML-Toolkits/python3-saml/issues/292
  • +12 -2
    Dockerfile
  • --- a/Dockerfile Fri Jan 19 00:42:01 2024 -0600
    +++ b/Dockerfile Fri Feb 09 16:29:59 2024 -0600
    @@ -6,13 +6,23 @@
    debconf-set-selections -v /tzdata.selections && \
    ln -nsf /usr/share/zoneinfo/Etc/UTC /etc/localtime
    -# install the missing library for saml
    +# install the libraries for saml
    RUN set -ex && \
    apt-get update && \
    - apt-get install -y --no-install-recommends libxmlsec1-openssl && \
    + apt-get install --yes --no-install-recommends \
    + build-essential \
    + libxml2-dev \
    + libxmlsec1-openssl \
    + libxslt1-dev \
    + libpython3.11-dev \
    + && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists
    +# The pre-compiled lxml wheel has a tendency to break
    +RUN set -ex && \
    + pip install --force-reinstall --no-binary=lxml lxml
    +
    # install rbjbhub
    RUN set -ex && \
    pip install --no-cache rbjbhub