Remove unused apk packages (#56)

This commit is contained in:
Jesse Bannon 2022-05-30 17:24:14 -07:00 committed by GitHub
parent 4f64089e22
commit 1d5992f93a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,14 +4,11 @@ FROM ghcr.io/linuxserver/baseimage-alpine:3.15
# YTDL-SUB INSTALL # YTDL-SUB INSTALL
COPY root/ / COPY root/ /
RUN apk update && \ RUN apk update --no-cache && \
apk add \ apk add \
vim \ vim \
gcc \
g++ \ g++ \
make \ make \
libffi-dev \
openssl-dev \
ffmpeg && \ ffmpeg && \
apk del \ apk del \
python3 \ python3 \
@ -23,7 +20,10 @@ RUN apk update && \
py3-pip && \ py3-pip && \
mkdir -p /config && \ mkdir -p /config && \
pip install --no-cache-dir ytdl_sub-*.whl && \ pip install --no-cache-dir ytdl_sub-*.whl && \
rm ytdl_sub-*.whl rm ytdl_sub-*.whl && \
apk del \
g++ \
make
############################################################################### ###############################################################################
# CONTAINER CONFIGS # CONTAINER CONFIGS