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.
This commit is contained in:
parent
a281b1783a
commit
c34c100701
5
Makefile
5
Makefile
@ -1,6 +1,5 @@
|
|||||||
import-lorawan-devices:
|
import-lorawan-devices:
|
||||||
docker-compose run --rm --entrypoint bash --user root chirpstack -c '\
|
docker-compose run --rm --entrypoint sh --user root chirpstack -c '\
|
||||||
apt-get update && \
|
apk add --no-cache git && \
|
||||||
apt-get install -y make git && \
|
|
||||||
git clone https://github.com/brocaar/lorawan-devices /tmp/lorawan-devices && \
|
git clone https://github.com/brocaar/lorawan-devices /tmp/lorawan-devices && \
|
||||||
chirpstack -c /etc/chirpstack import-legacy-lorawan-devices-repository -d /tmp/lorawan-devices'
|
chirpstack -c /etc/chirpstack import-legacy-lorawan-devices-repository -d /tmp/lorawan-devices'
|
||||||
|
Loading…
Reference in New Issue
Block a user