From 9ff168317e4fe8614ca0e0cf73fb079cec4fa78e Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 14 Nov 2022 18:59:06 +0100 Subject: [PATCH] Add build-scripts for own- and multi-arch --- build/docker-multiarch.sh | 9 +++++++++ build/docker-ownarch.sh | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100755 build/docker-multiarch.sh create mode 100644 build/docker-ownarch.sh diff --git a/build/docker-multiarch.sh b/build/docker-multiarch.sh new file mode 100755 index 0000000..825ad80 --- /dev/null +++ b/build/docker-multiarch.sh @@ -0,0 +1,9 @@ +TAG="ruakij/rfmon-to-influx" +PLATFORM="linux/amd64,linux/arm64/v8,linux/arm/v7" +EXTRA_ARGS="" + +docker buildx build \ +--platform $PLATFORM \ +--tag $TAG \ +$EXTRA_ARGS \ +. diff --git a/build/docker-ownarch.sh b/build/docker-ownarch.sh new file mode 100644 index 0000000..f6016ac --- /dev/null +++ b/build/docker-ownarch.sh @@ -0,0 +1,7 @@ +TAG="ruakij/rfmon-to-influx" +EXTRA_ARGS="" + +docker build \ +--tag $TAG \ +$EXTRA_ARGS \ +.