From ac0e44857c6dd2e353d0e06a61a5cf1667d54e5c Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 4 Oct 2020 22:57:03 +0200 Subject: [PATCH] rtltcp docker image --- build.sh | 1 + docker/Dockerfiles/Dockerfile-rtltcp | 9 +++++++++ docker/env | 2 +- docker/scripts/install-connectors.sh | 4 ++-- 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 docker/Dockerfiles/Dockerfile-rtltcp diff --git a/build.sh b/build.sh index 05847a4e..14bc2476 100755 --- a/build.sh +++ b/build.sh @@ -17,4 +17,5 @@ docker build --build-arg ARCHTAG=$ARCHTAG -t jketterl/openwebrx-fcdpp:$ARCHTAG - docker build --build-arg ARCHTAG=$ARCHTAG -t jketterl/openwebrx-radioberry:$ARCHTAG -f docker/Dockerfiles/Dockerfile-radioberry . docker build --build-arg ARCHTAG=$ARCHTAG -t jketterl/openwebrx-uhd:$ARCHTAG -f docker/Dockerfiles/Dockerfile-uhd . docker build --build-arg ARCHTAG=$ARCHTAG -t jketterl/openwebrx-redpitaya:$ARCHTAG -f docker/Dockerfiles/Dockerfile-redpitaya . +docker build --build-arg ARCHTAG=$ARCHTAG -t jketterl/openwebrx-rtltcp:$ARCHTAG -f docker/Dockerfiles/Dockerfile-rtltcp . docker build --build-arg ARCHTAG=$ARCHTAG -t jketterl/openwebrx-full:$ARCHTAG -t jketterl/openwebrx:$ARCHTAG -f docker/Dockerfiles/Dockerfile-full . diff --git a/docker/Dockerfiles/Dockerfile-rtltcp b/docker/Dockerfiles/Dockerfile-rtltcp new file mode 100644 index 00000000..240799dc --- /dev/null +++ b/docker/Dockerfiles/Dockerfile-rtltcp @@ -0,0 +1,9 @@ +ARG ARCHTAG +FROM openwebrx-base:$ARCHTAG + +COPY docker/scripts/install-connectors.sh / + +RUN /install-connectors.sh &&\ + rm /install-connectors.sh + +COPY . /opt/openwebrx diff --git a/docker/env b/docker/env index 6481d1fc..f38dacdb 100644 --- a/docker/env +++ b/docker/env @@ -1,5 +1,5 @@ ARCH=$(uname -m) -IMAGES="openwebrx-rtlsdr openwebrx-sdrplay openwebrx-hackrf openwebrx-airspy openwebrx-rtlsdr-soapy openwebrx-plutosdr openwebrx-limesdr openwebrx-soapyremote openwebrx-perseus openwebrx-fcdpp openwebrx-radioberry openwebrx-uhd openwebrx-redpitaya openwebrx-full openwebrx" +IMAGES="openwebrx-rtlsdr openwebrx-sdrplay openwebrx-hackrf openwebrx-airspy openwebrx-rtlsdr-soapy openwebrx-plutosdr openwebrx-limesdr openwebrx-soapyremote openwebrx-perseus openwebrx-fcdpp openwebrx-radioberry openwebrx-uhd openwebrx-redpitaya openwebrx-rtltcp openwebrx-full openwebrx" ALL_ARCHS="x86_64 armv7l aarch64" TAG=${TAG:-"latest"} ARCHTAG="$TAG-$ARCH" diff --git a/docker/scripts/install-connectors.sh b/docker/scripts/install-connectors.sh index 34b8c06a..0e848555 100755 --- a/docker/scripts/install-connectors.sh +++ b/docker/scripts/install-connectors.sh @@ -24,8 +24,8 @@ apt-get update apt-get -y install --no-install-recommends $BUILD_PACKAGES git clone https://github.com/jketterl/owrx_connector.git -# this is the latest development version as of 2020-09-25 (switch antenna first) -cmakebuild owrx_connector 2252ee44ec3ae5ca91c576d905cd2c077d416ae8 +# this is the latest development version as of 2020-10-04 (ability to build rtl_tcp_connector alone) +cmakebuild owrx_connector ccbf42c78c06c4e1c3e0de6e9ef34fba72a60c75 apt-get -y purge --autoremove $BUILD_PACKAGES apt-get clean