Skip to content

Commit

Permalink
Merge pull request #3 from gizmoguy/no-pip
Browse files Browse the repository at this point in the history
Don't install our own pip.
  • Loading branch information
gizmoguy authored May 31, 2020
2 parents a114511 + a74dab5 commit 7d08daa
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@
FROM faucet/base:5.0.0

RUN apk add --no-cache python3 && \
python3 -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \
pip3 install --upgrade pip setuptools && \
if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \
if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3 /usr/bin/python; fi && \
rm -r /root/.cache
if [ ! -e /usr/bin/pip ]; then ln -s /usr/bin/pip3 /usr/bin/pip; fi && \
if [ ! -e /usr/bin/python ]; then ln -s /usr/bin/python3 /usr/bin/python; fi

0 comments on commit 7d08daa

Please sign in to comment.