The Docker image removes unnecessary dependencies

This commit is contained in:
xia-chu 2024-10-18 21:53:46 +08:00
parent fdbf77d46d
commit 6fcf7f81a4

View File

@ -25,13 +25,8 @@ RUN apt-get update && \
ca-certificates \ ca-certificates \
tzdata \ tzdata \
libssl-dev \ libssl-dev \
libmysqlclient-dev \
libx264-dev \
libfaac-dev \
gcc \ gcc \
g++ \ g++ \
libavcodec-dev libavutil-dev libswscale-dev libresample-dev \
libsdl-dev libusrsctp-dev \
gdb && \ gdb && \
apt-get autoremove -y && \ apt-get autoremove -y && \
apt-get clean -y && \ apt-get clean -y && \
@ -69,13 +64,9 @@ RUN apt-get update && \
tzdata \ tzdata \
curl \ curl \
libssl-dev \ libssl-dev \
libx264-dev \
libfaac-dev \
ffmpeg \ ffmpeg \
gcc \ gcc \
g++ \ g++ \
libavcodec-dev libavutil-dev libswscale-dev libresample-dev \
libsdl-dev libusrsctp-dev \
gdb && \ gdb && \
apt-get autoremove -y && \ apt-get autoremove -y && \
apt-get clean -y && \ apt-get clean -y && \