Skip to content

Commit

Permalink
fix lxml
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed May 3, 2024
1 parent 0cdf5b6 commit e1f5f6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ test:
python -c "from cryptography.hazmat.backends.openssl.backend import backend; backend._enable_fips(); print(backend._fips_enabled)"
# Test LXML & xmlsec
docker run --rm ${IMAGE_REPO}/${IMAGE_PREFIX}-python:${PYTHON_VERSION}-slim-${DEBIAN_CODENAME}-fips-full \
python -c "import xmlsec; from lxml import etree"
python -c "import xmlsec; from lxml import etree; print(xmlsec.get_libxml_version(), xmlsec.get_libxmlsec_version(), etree.LIBXML_COMPILED_VERSION)"
5 changes: 4 additions & 1 deletion python-fips-full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ FROM ${BUILD_IMAGE}

COPY --from=build /wheels /wheels

RUN pip install /wheels/*
RUN apt-get update && \
apt-get install -y --no-install-recommends libltdl7 libxslt1.1 && \
pip install /wheels/* && \
rm -rf /var/lib/apt/lists/*

0 comments on commit e1f5f6b

Please sign in to comment.