Skip to content

Commit

Permalink
Fix Dockerfile for pip 19
Browse files Browse the repository at this point in the history
There is a bug in pip 19 that prevent that gives an assertion error
when you build the Docker image (see here for mitigation):
pypa/pip#6197
This commit uses the suggested workaround in that issue in order
to get the image to build.
  • Loading branch information
User authored and User committed Mar 20, 2019
1 parent ca12251 commit 1b45239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN apk add --update --virtual build-deps \
linux-headers \
openssl-dev \
&& pip install --no-cache-dir -U pip \
&& pip install --no-cache-dir -r requirements.txt \
&& pip install --no-cache-dir --no-use-pep517 -r requirements.txt \
&& apk del build-deps \
&& rm -rf /var/cache/apk/*

Expand Down

0 comments on commit 1b45239

Please sign in to comment.