From 0ff01f837b9a291fc6e93a736f7574b618ad0253 Mon Sep 17 00:00:00 2001 From: LecygneNoir Date: Thu, 24 Feb 2022 14:57:56 +0100 Subject: [PATCH] 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) --- support/docker/production/Dockerfile.bullseye | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/docker/production/Dockerfile.bullseye b/support/docker/production/Dockerfile.bullseye index 77b5d96dd..e55da3307 100644 --- a/support/docker/production/Dockerfile.bullseye +++ b/support/docker/production/Dockerfile.bullseye @@ -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