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