diff options
author | LecygneNoir <victor.jlc@laposte.net> | 2022-02-24 14:57:56 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-02-28 11:03:44 +0100 |
commit | 0ff01f837b9a291fc6e93a736f7574b618ad0253 (patch) | |
tree | f97778f267fa52b6fb5e5760d10dfd1be86af7f8 /support/docker | |
parent | c5ca7e1e0c735d1e658f9ef524a61d19f6a50fea (diff) | |
download | PeerTube-0ff01f837b9a291fc6e93a736f7574b618ad0253.tar.gz PeerTube-0ff01f837b9a291fc6e93a736f7574b618ad0253.tar.zst PeerTube-0ff01f837b9a291fc6e93a736f7574b618ad0253.zip |
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)
Diffstat (limited to 'support/docker')
-rw-r--r-- | support/docker/production/Dockerfile.bullseye | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
2 | 2 | ||
3 | # Install dependencies | 3 | # Install dependencies |
4 | RUN apt update \ | 4 | RUN apt update \ |
5 | && apt install -y --no-install-recommends openssl ffmpeg python ca-certificates gnupg gosu build-essential curl \ | 5 | && apt install -y --no-install-recommends openssl ffmpeg python3 ca-certificates gnupg gosu build-essential curl \ |
6 | && gosu nobody true \ | 6 | && gosu nobody true \ |
7 | && rm /var/lib/apt/lists/* -fR | 7 | && rm /var/lib/apt/lists/* -fR |
8 | 8 | ||