Skip to content

Commit

Permalink
Dockerfile: Use python module ensurepip
Browse files Browse the repository at this point in the history
Remove dependency on zypper package python3-pip, which
implicitly depends on python3-setuptools and other packages
which will be upgraded later in the build process.

Closes coala#223
  • Loading branch information
jayvdb committed Aug 7, 2017
1 parent 9f66cf0 commit dc83b6a
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 @@ -100,7 +100,6 @@ RUN \
# Needed for proselint
python3-dbm \
python3-nltk \
python3-pip \
python3-devel \
R-base \
ruby2.2 \
Expand Down Expand Up @@ -174,6 +173,7 @@ RUN \
# Disable nltk downloader
printf 'def download(*args): pass\ndownload_shell = download\n' \
> /usr/lib/python3.6/site-packages/nltk/downloader.py && \
python3 -m ensurepip && \
rm -rf \
/usr/lib64/python2.7/doctest.py \
/usr/lib64/python2.7/ensurepip/ \
Expand Down

0 comments on commit dc83b6a

Please sign in to comment.