From c34c1007014e60ac161a16d8810cadd60f6bb09c Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Mon, 3 Jul 2023 15:50:52 +0100 Subject: [PATCH] Update Makefile after migration to Alpine. The ChirpStack image base has recently changed from Debian to Alpine, causing the Makefile import-lorawan-devices task to fail. Fixes #85. --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c7b5a8e..5ed7277 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ import-lorawan-devices: - docker-compose run --rm --entrypoint bash --user root chirpstack -c '\ - apt-get update && \ - apt-get install -y make git && \ + docker-compose run --rm --entrypoint sh --user root chirpstack -c '\ + apk add --no-cache git && \ git clone https://github.com/brocaar/lorawan-devices /tmp/lorawan-devices && \ chirpstack -c /etc/chirpstack import-legacy-lorawan-devices-repository -d /tmp/lorawan-devices'