openwebrx-clone/build.sh

23 lines
976 B
Bash
Raw Permalink Normal View History

2019-01-21 16:40:36 +00:00
#!/bin/bash
2019-01-21 17:44:35 +00:00
set -euxo pipefail
2019-01-22 12:52:03 +01:00
ARCH=$(uname -m)
case $ARCH in
x86_64)
2019-01-22 17:25:46 +01:00
BASE_IMAGE=alpine
2019-01-22 12:52:03 +01:00
;;
armv*)
BASE_IMAGE=arm32v6/alpine
2019-01-22 12:52:03 +01:00
esac
TAGS=$ARCH
docker build --build-arg BASE_IMAGE=$BASE_IMAGE -t openwebrx-base:$ARCH -f docker/Dockerfiles/Dockerfile-base .
docker build --build-arg ARCH=$ARCH -t jketterl/openwebrx-rtlsdr:$ARCH -f docker/Dockerfiles/Dockerfile-rtlsdr .
2019-01-24 16:46:16 +01:00
docker build --build-arg ARCH=$ARCH -t openwebrx-soapysdr-base:$ARCH -f docker/Dockerfiles/Dockerfile-soapysdr .
docker build --build-arg ARCH=$ARCH -t jketterl/openwebrx-sdrplay:$ARCH -f docker/Dockerfiles/Dockerfile-sdrplay .
2019-01-24 17:24:15 +01:00
docker build --build-arg ARCH=$ARCH -t jketterl/openwebrx-hackrf:$ARCH -f docker/Dockerfiles/Dockerfile-hackrf .
2019-06-20 15:37:21 +02:00
docker build --build-arg ARCH=$ARCH -t jketterl/openwebrx-airspy:$ARCH -f docker/Dockerfiles/Dockerfile-airspy .
2019-06-20 14:56:52 +02:00
docker build --build-arg ARCH=$ARCH -t jketterl/openwebrx-full:$ARCH -t jketterl/openwebrx:$ARCH -f docker/Dockerfiles/Dockerfile-full .