Skip to content

Commit

Permalink
fix pip install, getpip / pip v21 no longer support python2 at all
Browse files Browse the repository at this point in the history
  • Loading branch information
Groxx committed Jan 25, 2021
1 parent 69b60d1 commit 1f84683
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/buildkite/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
unzip \
&& rm -rf /var/lib/apt/lists/*

RUN curl https://bootstrap.pypa.io/get-pip.py | python
# pip 21+ drops support for python2 entirely, we seem to need at least 19 to build cqlsh
RUN pip install -U 'pip<21'
RUN pip install PyYAML==3.13 cqlsh==5.0.4

# https://github.com/docker-library/golang/blob/c1baf037d71331eb0b8d4c70cff4c29cf124c5e0/1.4/Dockerfile
Expand Down

0 comments on commit 1f84683

Please sign in to comment.