Remove unused apk packages (#56)
This commit is contained in:
parent
4f64089e22
commit
1d5992f93a
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue