Skip to content

Commit

Permalink
Use pipx instead of pip
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 authored May 28, 2024
1 parent 0adec6a commit a4882b3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN set -eux; \
openssh-client \
# Required for SyntaxHighlighting
python3-dev \
python3-pip \
pipx \
rsync \
nano \
liblua5.1-0 \
Expand All @@ -29,9 +29,8 @@ RUN set -eux; \

# Find where the Pygments library is located, because Python directory is not static
# We need it for Extension:SyntaxHighlight
RUN python3 -m pip install pip --upgrade
RUN pip install pygments
RUN pip show pygments
RUN pipx install pygments
RUN pipx list

# Install the PHP extensions we need
RUN set -eux; \
Expand Down

0 comments on commit a4882b3

Please sign in to comment.