Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit 4364576

Browse files
committed
Use pip instead of easy_install.
I can no longer build this container because of SSL cert validation errors running (but not downloading) ez_setup.py. This might be related to turning on cert validation (!) in 2.7.9-ish per PEP 0476, but it worked a month ago with python 2.7.10. Perhaps it's something about the build config or system cert locations which have changed. I wasn't able to find the issue. In any case, switching to the more modern pip tool avoids the issue. Python is supposed to include pip these days, but our build doesn't provide it.
1 parent fbb7de7 commit 4364576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

slaves/dist/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ COPY dist/build_git.sh /build/
8080
RUN /bin/bash build_git.sh && rm -rf /build
8181

8282
# Install buildbot and prep it to run
83-
RUN curl https://bootstrap.pypa.io/ez_setup.py | python
84-
RUN easy_install buildbot-slave
83+
RUN curl https://bootstrap.pypa.io/get-pip.py | python
84+
RUN pip install buildbot-slave
8585

8686
# Clean up after ourselves, make sure that `cc` is a thing, and then make the
8787
# default working directory a "home-ish" directory

0 commit comments

Comments
 (0)