Revert "Revert "[DOCKER] Use alpine-3.16, update ffmpeg (#330)" (#331)"

This reverts commit 1fa3aa5967.
This commit is contained in:
Jesse Bannon 2022-11-15 12:18:12 -08:00
parent 1fa3aa5967
commit 31b2663732

View file

@ -1,23 +1,19 @@
FROM ghcr.io/linuxserver/baseimage-alpine:3.15
FROM ghcr.io/linuxserver/baseimage-alpine:3.16
###############################################################################
# YTDL-SUB INSTALL
COPY root/ /
RUN apk update --no-cache && \
apk add \
apk add --repository=http://dl-3.alpinelinux.org/alpine/edge/main/ \
vim \
g++ \
nano \
make \
ffmpeg && \
apk del \
python3 \
py3-pip && \
apk add --repository=http://dl-3.alpinelinux.org/alpine/edge/main/ \
python3=~3.10 \
py3-setuptools && \
apk add --repository=http://dl-3.alpinelinux.org/alpine/edge/community/ \
ffmpeg \
py3-pip && \
mkdir -p /config && \
pip install --no-cache-dir ytdl_sub-*.whl && \
@ -25,7 +21,8 @@ RUN apk update --no-cache && \
apk del \
g++ \
make \
py3-setuptools
py3-setuptools \
py3-pip
###############################################################################
# CONTAINER CONFIGS