1
0
Fork 0

Install python3 instead of global python

python virtual package uses python-is-python2 so install python2 instead of python3, we need to explicitly use python3 for PeerTube tools (especially ytp-dl)
This commit is contained in:
LecygneNoir 2022-02-24 14:57:56 +01:00 committed by Chocobozzz
parent c5ca7e1e0c
commit 0ff01f837b

View file

@ -2,7 +2,7 @@ FROM node:14-bullseye-slim
# Install dependencies
RUN apt update \
&& apt install -y --no-install-recommends openssl ffmpeg python ca-certificates gnupg gosu build-essential curl \
&& apt install -y --no-install-recommends openssl ffmpeg python3 ca-certificates gnupg gosu build-essential curl \
&& gosu nobody true \
&& rm /var/lib/apt/lists/* -fR