From 4f7658078522dd3292013d9b5d30ea21ad2c1b96 Mon Sep 17 00:00:00 2001 From: s3rj1k Date: Thu, 16 Feb 2023 18:11:28 +0200 Subject: [PATCH] [mod_shout] Enable module in Dockerfile example. Signed-off-by: s3rj1k --- docker/examples/Debian11/Dockerfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docker/examples/Debian11/Dockerfile b/docker/examples/Debian11/Dockerfile index 2497a39850..10d9302be1 100644 --- a/docker/examples/Debian11/Dockerfile +++ b/docker/examples/Debian11/Dockerfile @@ -31,13 +31,18 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -yq install \ # mod_pgsql libpq-dev \ # mod_sndfile - libsndfile1-dev libflac-dev libogg-dev libvorbis-dev - + libsndfile1-dev libflac-dev libogg-dev libvorbis-dev \ +# mod_shout + libshout3-dev libmpg123-dev libmp3lame-dev + RUN cd /usr/src/libs/libks && cmake . -DCMAKE_INSTALL_PREFIX=/usr -DWITH_LIBBACKTRACE=1 && make install RUN cd /usr/src/libs/sofia-sip && ./bootstrap.sh && ./configure CFLAGS="-g -ggdb" --with-pic --with-glib=no --without-doxygen --disable-stun --prefix=/usr && make -j`nproc --all` && make install RUN cd /usr/src/libs/spandsp && ./bootstrap.sh && ./configure CFLAGS="-g -ggdb" --with-pic --prefix=/usr && make -j`nproc --all` && make install RUN cd /usr/src/libs/signalwire-c && PKG_CONFIG_PATH=/usr/lib/pkgconfig cmake . -DCMAKE_INSTALL_PREFIX=/usr && make install +# Enable modules +RUN sed -i 's|#formats/mod_shout|formats/mod_shout|' /usr/src/freeswitch/build/modules.conf.in + RUN cd /usr/src/freeswitch && ./bootstrap.sh -j RUN cd /usr/src/freeswitch && ./configure RUN cd /usr/src/freeswitch && make -j`nproc` && make install @@ -46,4 +51,4 @@ RUN cd /usr/src/freeswitch && make -j`nproc` && make install RUN apt-get clean # Uncomment to cleanup even more -#RUN rm -rf /usr/src/* \ No newline at end of file +#RUN rm -rf /usr/src/*