From a8b2e21a5a7d9a4aee4c361b8b765d4646ba1f3f Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Thu, 20 Jun 2019 14:46:04 +0200 Subject: [PATCH] update to python 3 --- docker/scripts/install-dependencies.sh | 2 +- docker/scripts/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/scripts/install-dependencies.sh b/docker/scripts/install-dependencies.sh index b3049d3..48136b2 100755 --- a/docker/scripts/install-dependencies.sh +++ b/docker/scripts/install-dependencies.sh @@ -14,7 +14,7 @@ function cmakebuild() { cd /tmp -STATIC_PACKAGES="sox fftw python2 netcat-openbsd libsndfile lapack" +STATIC_PACKAGES="sox fftw python3 netcat-openbsd libsndfile lapack" BUILD_PACKAGES="git libsndfile-dev fftw-dev cmake ca-certificates make gcc musl-dev g++ lapack-dev linux-headers" apk add --no-cache $STATIC_PACKAGES diff --git a/docker/scripts/run.sh b/docker/scripts/run.sh index e878d2b..a9034c5 100755 --- a/docker/scripts/run.sh +++ b/docker/scripts/run.sh @@ -16,7 +16,7 @@ _term() { trap _term SIGTERM SIGINT -python2.7 openwebrx.py $@ & +python3 openwebrx.py $@ & child=$! wait "$child"