Skip to content

Commit

Permalink
Add a symlink pip to pip3
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Jun 20, 2024
1 parent 692ce61 commit 793d45e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ RUN cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/python \
make -j10 && \
make install

RUN /opt/python/bin/python -m ensurepip --upgrade
RUN /opt/python/bin/python -m ensurepip --upgrade && \
ln -s /opt/python/bin/pip3 /opt/python/bin/pip

# Move binaries to a small image to reduce the size
FROM runtime-base-image
Expand Down

0 comments on commit 793d45e

Please sign in to comment.