Error Install gateway-bridge

Hey hey,
i always get an error, and i dont know, how to fix it:

docker-compose run --rm chirpstack-gateway-bridge bash
Starting chirpstack-gateway-bridge_mosquitto_1 ... done
Building chirpstack-gateway-bridge
Step 1/10 : FROM golang:1.14-alpine
 ---> d710880778b2
Step 2/10 : ENV PROJECT_PATH=/chirpstack-gateway-bridge
 ---> Using cache
 ---> fa6c0c13a23a
Step 3/10 : ENV PATH=$PATH:$PROJECT_PATH/build
 ---> Using cache
 ---> f529a56922b9
Step 4/10 : ENV CGO_ENABLED=0
 ---> Using cache
 ---> b2060229d0c1
Step 5/10 : ENV GO_EXTRA_BUILD_ARGS="-a -installsuffix cgo"
 ---> Using cache
 ---> 1edc32dda414
Step 6/10 : RUN apk add --no-cache ca-certificates make git bash upx rpm
 ---> Running in ef12cba2255d
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/armv7/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  upx (missing):
    required by: world[upx]
ERROR: Service 'chirpstack-gateway-bridge' failed to build: The command '/bin/sh -c apk add --no-cache ca-certificates make git bash upx rpm' returned a non-zero code: 1

I’m not the expert, but it sounds like something i’ve to install or some packages are missing by alpine.
I try to install it on a raspberry pi: Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux

Thanks for the help in advance,
Maik

If you want to install the ChirpStack Gateway Bridge, why not use one of the pre-compiled binaries?

https://www.chirpstack.io/gateway-bridge/downloads/

1 Like