diff --git a/docker/Dockerfiles/Dockerfile-base b/docker/Dockerfiles/Dockerfile-base index 1c54408d..6fd184f5 100644 --- a/docker/Dockerfiles/Dockerfile-base +++ b/docker/Dockerfiles/Dockerfile-base @@ -13,6 +13,8 @@ COPY docker/scripts/install-owrx-tools.sh / RUN /install-owrx-tools.sh && \ rm /install-owrx-tools.sh +COPY docker/files/services/codecserver /etc/services.d/codecserver + ENTRYPOINT ["/init"] WORKDIR /opt/openwebrx diff --git a/docker/files/services/codecserver/run b/docker/files/services/codecserver/run new file mode 100755 index 00000000..43c8212c --- /dev/null +++ b/docker/files/services/codecserver/run @@ -0,0 +1,2 @@ +#!/usr/bin/execlineb -P +/usr/local/bin/codecserver \ No newline at end of file diff --git a/docker/scripts/install-dependencies.sh b/docker/scripts/install-dependencies.sh index dfa08def..58e2b889 100755 --- a/docker/scripts/install-dependencies.sh +++ b/docker/scripts/install-dependencies.sh @@ -40,15 +40,6 @@ wget https://github.com/just-containers/s6-overlay/releases/download/v1.21.8.0/s tar xzf s6-overlay-${PLATFORM}.tar.gz -C / rm s6-overlay-${PLATFORM}.tar.gz -git clone https://git.code.sf.net/p/itpp/git itpp -cmakebuild itpp bb5c7e95f40e8fdb5c3f3d01a84bcbaf76f3676d - -git clone https://github.com/szechyjs/mbelib.git -cmakebuild mbelib 9a04ed5c78176a9965f3d43f7aa1b1f5330e771f - -git clone https://github.com/f4exb/dsd.git -cmakebuild dsd f6939f9edbbc6f66261833616391a4e59cb2b3d7 - JS8CALL_VERSION=2.2.0 JS8CALL_DIR=js8call JS8CALL_TGZ=js8call-${JS8CALL_VERSION}.tgz diff --git a/docker/scripts/install-owrx-tools.sh b/docker/scripts/install-owrx-tools.sh index 0858fb87..6f0be2fa 100755 --- a/docker/scripts/install-owrx-tools.sh +++ b/docker/scripts/install-owrx-tools.sh @@ -18,8 +18,8 @@ function cmakebuild() { cd /tmp -STATIC_PACKAGES="libfftw3-bin" -BUILD_PACKAGES="git autoconf automake libtool libfftw3-dev pkg-config cmake make gcc g++" +STATIC_PACKAGES="libfftw3-bin libprotobuf17" +BUILD_PACKAGES="git autoconf automake libtool libfftw3-dev pkg-config cmake make gcc g++ libprotobuf-dev protobuf-compiler" apt-get update apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES @@ -40,8 +40,15 @@ make install cd .. rm -rf csdr +git clone https://github.com/jketterl/codecserver.git +mkdir -p /usr/local/etc/codecserver +cp codecserver/conf/codecserver.conf /usr/local/etc/codecserver +#latest develop as of 2021-05-31 +cmakebuild codecserver 7f6d4276517530224e15084a48262f48b522b337 + git clone https://github.com/jketterl/digiham.git -cmakebuild digiham 0.4.0 +#latest develop as of 2021-05-31 (codecserver rework) +cmakebuild digiham 0c717c581153c37222eecc1c749351bac5bae641 apt-get -y purge --autoremove $BUILD_PACKAGES apt-get clean