Skip to content

Conversation

@lgerard-pass
Copy link
Contributor

Please go to the Preview tab and select the appropriate sub-template:

Comment on lines +96 to +100
FROM python:3.13-slim AS lib-proxy
COPY /cacert.pem /cacert.pem
ENV REQUESTS_CA_BUNDLE=/cacert.pem
ENV PIP_CERT=/cacert.pem
ENV CURL_CA_BUNDLE=/cacert.pem
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quelle partie du Dockerfile qui suit a besoin de ça maintenant ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

la commande :

RUN pip install --no-cache-dir --user -e .

sur main actuellement j'ai ça au build : (l'exemple est sur celery mais c'est pareil sur backoffice c'est la meme target dans le dockerfile)

------
 > [celery api-flask 2/2] RUN pip install --no-cache-dir --user -e .:
9.144
9.144   note: This error originates from a subprocess, and is likely not a problem with pip.
9.180 Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(ho
st='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTI
FICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1032)'))) - skipping
9.183 error: subprocess-exited-with-error
9.183
9.183 × pip subprocess to install build dependencies did not run successfully.
9.183 │ exit code: 1
9.183 ╰─> See above for output.
9.183
9.183 note: This error originates from a subprocess, and is likely not a problem with pip.
------
Dockerfile:145

Et c'est logique car les variables d'environnements ne sont positionnés que sur les commandes RUN et celle là n'en a pas.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants