Skip to content

Commit ad5180d

Browse files
committed
Update Dockerfile.base
1 parent de205d4 commit ad5180d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile.base

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3333
libopencore-amrwb-dev \
3434
libshine-dev \
3535
# Additional audio processing
36-
libsamplerate0-dev \
3736
libbluray-dev \
3837
libxml2-dev \
3938
&& rm -rf /var/lib/apt/lists/*
@@ -61,7 +60,6 @@ RUN set -x \
6160
--enable-libopencore-amrwb \
6261
--enable-libvo-amrwbenc \
6362
# Audio filters and resampling
64-
--enable-libsamplerate \
6563
--enable-libsoxr \
6664
# Protocols needed for streaming
6765
--enable-protocol=file \
@@ -70,13 +68,18 @@ RUN set -x \
7068
--enable-protocol=tcp \
7169
--enable-protocol=udp \
7270
--enable-protocol=rtp \
71+
# Optimizations
72+
--enable-small \
73+
--enable-runtime-cpudetect \
7374
# Disable unnecessary features for smaller build
7475
--disable-doc \
7576
--disable-htmlpages \
7677
--disable-manpages \
7778
--disable-podpages \
7879
--disable-txtpages \
7980
--disable-debug \
81+
--disable-static \
82+
--enable-shared \
8083
&& make -j$(nproc) \
8184
&& make install \
8285
&& strip /usr/local/bin/ffmpeg /usr/local/bin/ffprobe \
@@ -122,7 +125,6 @@ RUN set -x \
122125
libopencore-amrnb0 \
123126
libopencore-amrwb0 \
124127
libvo-amrwbenc0 \
125-
libsamplerate0 \
126128
libbluray2 \
127129
libxml2 \
128130
&& apt-get clean \

0 commit comments

Comments
 (0)