[mod_shout] Enable module in Dockerfile example.
Signed-off-by: s3rj1k <evasive.gyron@gmail.com>
This commit is contained in:
parent
1a2033b915
commit
4f76580785
|
@ -31,13 +31,18 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -yq install \
|
||||||
# mod_pgsql
|
# mod_pgsql
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
# mod_sndfile
|
# 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/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/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/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
|
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 && ./bootstrap.sh -j
|
||||||
RUN cd /usr/src/freeswitch && ./configure
|
RUN cd /usr/src/freeswitch && ./configure
|
||||||
RUN cd /usr/src/freeswitch && make -j`nproc` && make install
|
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
|
RUN apt-get clean
|
||||||
|
|
||||||
# Uncomment to cleanup even more
|
# Uncomment to cleanup even more
|
||||||
#RUN rm -rf /usr/src/*
|
#RUN rm -rf /usr/src/*
|
||||||
|
|
Loading…
Reference in New Issue