fix(docker): assert the runtime image's cryptography reports the system OpenSSL too

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
yucheng 2026-09-24 08:07:39 +00:00
parent 274ac27940
commit 009eeb0caf

View file

@ -165,6 +165,8 @@ RUN --mount=type=secret,id=cgr-token \
RUN openssl-fips-test
RUN chmod +x docker/scan_bundled_crypto.sh && \
docker/scan_bundled_crypto.sh /app/.venv /opt/prisma /usr/local/bin
RUN python -c "from cryptography.hazmat.backends.openssl.backend import backend; print(backend.openssl_version_text())" \
| tee /dev/stderr | grep -q "$(openssl version | cut -d' ' -f1,2)"
FROM runtime AS final