Skip to content

Commit

Permalink
fix: replace pip3 with pipx
Browse files Browse the repository at this point in the history
  • Loading branch information
initbar committed Jul 24, 2024
1 parent b530792 commit 1d6ab30
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RUN apt-get update \
ncal \
nfs-common \
p7zip-full \
pipx \
python3 \
python3-pip \
python3-setuptools \
Expand All @@ -51,10 +52,10 @@ RUN mkdir -p /etc/sudoers.d \
&& echo "ubuntu ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/ubuntu

USER ubuntu
WORKDIR $WORKDIR
WORKDIR /home/ubuntu

RUN curl https://raw.githubusercontent.com/initbar/lib/main/scripts/laptop/linux-cli.sh | bash \
&& sudo --set-home pip3 install --force-reinstall https://github.com/yt-dlp/yt-dlp/archive/master.zip \
&& sudo --set-home pipx install https://github.com/yt-dlp/yt-dlp/archive/master.zip \
&& mkdir --parents $WORKDIR/.config/transmission/blocklists \
&& curl https://raw.githubusercontent.com/initbar/lib/main/scripts/transmission-blocklist.sh | bash \
> $WORKDIR/.config/transmission/blocklists/blocklists

0 comments on commit 1d6ab30

Please sign in to comment.