How to use loraserver-pi-gen

when run “./build-docker.sh”, one error happen as following.

pi@raspberrypi:~/pi/loraserver-pi-gen $ ./build-docker.sh
: invalid option

how to use loraserver-pi-gen ?

https://github.com/brocaar/loraserver-pi-gen is a fork of https://github.com/RPi-Distro/pi-gen. You will find all the relevant documentation there. Please note that this is not intended to be executed on a Raspberry Pi. However it will generate a Raspberry Pi image for you :slight_smile: