Skip to content

Commit

Permalink
Pin pip to version 20.2 to avoid bug in 20.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jakekara committed Dec 1, 2020
1 parent 1cf46db commit 17d37df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lts-app/backend.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ COPY let-them-speak /lts-app

WORKDIR /lts-app

RUN pip install -U pip && pip install -r requirements.txt
# Pinning pip 20.2 until this issue is fixed https://github.com/pypa/pip/issues/9180
#RUN pip install -U pip && pip install -r requirements.txt
RUN pip install --upgrade pip~=20.2.0 && pip install -r requirements.txt

EXPOSE 7082

Expand Down

1 comment on commit 17d37df

@jakekara
Copy link
Owner Author

Choose a reason for hiding this comment

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

This issue in pip 20.3 was causing build-backend.sh to fail. (pypa/pip#9180)

Please sign in to comment.