add aarch64 build
This commit is contained in:
parent
f012c1180c
commit
f7ff798238
4
build.sh
4
build.sh
@ -9,6 +9,10 @@ case $ARCH in
|
|||||||
;;
|
;;
|
||||||
armv*)
|
armv*)
|
||||||
BASE_IMAGE=arm32v6/alpine
|
BASE_IMAGE=arm32v6/alpine
|
||||||
|
;;
|
||||||
|
aarch64)
|
||||||
|
BASE_IMAGE=alpine
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
TAGS=$ARCH
|
TAGS=$ARCH
|
||||||
|
@ -29,9 +29,12 @@ case $ARCH in
|
|||||||
armv*)
|
armv*)
|
||||||
BINARY=SDRplay_RSP_API-RPi-2.13.1.run
|
BINARY=SDRplay_RSP_API-RPi-2.13.1.run
|
||||||
;;
|
;;
|
||||||
|
aarch64)
|
||||||
|
BINARY=SDRplay_RSP_API-ARM64-2.13.1.run
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
wget http://www.sdrplay.com/software/$BINARY
|
wget https://www.sdrplay.com/software/$BINARY
|
||||||
sh $BINARY --noexec --target sdrplay
|
sh $BINARY --noexec --target sdrplay
|
||||||
patch --verbose -Np0 < /install-lib.$ARCH.patch
|
patch --verbose -Np0 < /install-lib.$ARCH.patch
|
||||||
|
|
||||||
|
2
push.sh
2
push.sh
@ -3,7 +3,7 @@ set -euxo pipefail
|
|||||||
|
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
|
|
||||||
ALL_ARCHS="x86_64 armv7l"
|
ALL_ARCHS="x86_64 armv7l aarch64"
|
||||||
|
|
||||||
for image in openwebrx-rtlsdr openwebrx-sdrplay openwebrx-hackrf openwebrx-airspy openwebrx-full openwebrx; do
|
for image in openwebrx-rtlsdr openwebrx-sdrplay openwebrx-hackrf openwebrx-airspy openwebrx-full openwebrx; do
|
||||||
docker push jketterl/$image:$ARCH
|
docker push jketterl/$image:$ARCH
|
||||||
|
Loading…
Reference in New Issue
Block a user