Skip to content

Commit c05188b

Browse files
committed
🔧(dogwood.3-fun) add a pip.conf file to trust a list of domain
Since end of april, pypi has renew the certificates of a list domain used by pip to install dependencies. Those certificates are not recognized anymore by our version of ubuntu. To fix this issue, we have to trust a restricted list of domain present in the pip.conf file
1 parent 0df77d2 commit c05188b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

‎releases/dogwood/3/fun/Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ RUN pip install -r requirements/edx/pre.txt
179179
# Splinter is a sub-dependency. The version match pattern is >=0.5.0
180180
# but the version 0.17.0 dropped the support for Python 2.7 we install manually the
181181
# latest compatible version to prevent the installation of 0.17.0.
182+
COPY pip.conf /etc/pip.conf
182183
RUN pip install \
183184
pip==9.0.3 \
184185
urllib3==1 \
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[global]
2+
trusted-host = pypi.python.org
3+
pypi.org
4+
files.pythonhosted.org

0 commit comments

Comments
 (0)