Skip to content

Commit c34c100

Browse files
committed
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.
1 parent a281b17 commit c34c100

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import-lorawan-devices:
2-
docker-compose run --rm --entrypoint bash --user root chirpstack -c '\
3-
apt-get update && \
4-
apt-get install -y make git && \
2+
docker-compose run --rm --entrypoint sh --user root chirpstack -c '\
3+
apk add --no-cache git && \
54
git clone https://github.com/brocaar/lorawan-devices /tmp/lorawan-devices && \
65
chirpstack -c /etc/chirpstack import-legacy-lorawan-devices-repository -d /tmp/lorawan-devices'

0 commit comments

Comments
 (0)