Wifi connect fails to install. This is the error I get
* # Start app
* CMD ["bash", "/usr/src/node/start.sh"]
* [backend] Step 4/9 : RUN curl https://api.github.com/repos/balena-io/wifi-connect/releases/latest -s | grep -hoP 'browser_download_url": "\K.*%%RESIN_ARCH%%\.tar\.gz' | xargs -n1 curl -Ls | tar -xvz -C /usr/src/node/
* [backend] ---> Running in 8756a5418a01
* [backend] curl: no URL specified!
* [backend] curl: try 'curl --help' or 'curl --manual' for more information
* [backend]
* [backend]
* [backend] gzip: stdin: unexpected end of file
* [backend]
* [backend] tar: Child returned status 1
* [backend] tar: Error is not recoverable: exiting now
* [backend]
* [backend] Removing intermediate container 8756a5418a01
* [backend] The command '/bin/sh -c curl https://api.github.com/repos/balena-io/wifi-connect/releases/latest -s | grep -hoP 'browser_download_url": "\K.*%%RESIN_ARCH%%\.tar\.gz' | xargs -n1 curl -Ls | tar -xvz -C /usr/src/node/' returned a non-zero code: 2
* [Info] Uploading images
* [Success] Successfully uploaded images
* [Error] Some services failed to build:
* [Error] Service: backend
* [Error] Error: The command '/bin/sh -c curl https://api.github.com/repos/balena-io/wifi-connect/releases/latest -s | grep -hoP 'browser_download_url": "\K.*%%RESIN_ARCH%%\.tar\.gz' | xargs -n1 curl -Ls | tar -xvz -C /usr/src/node/' returned a non-zero code: 2
* [Info] Built on arm01
* [Error] Not deploying release.
* remote: error: hook declined to update refs/heads/master
* To git.balena-cloud.com:kevin3/production-2-5.git
Dockerfile
From balenalib/raspberrypi3-node:10.15-stretch-build-20190419
RUN apt-get update \
&& apt-get install -y dnsmasq wireless-tools \
&& apt-get install -y cron \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Move to app dir
WORKDIR /usr/src/node
RUN curl https://api.github.com/repos/balena-io/wifi-connect/releases/latest -s \
| grep -hoP 'browser_download_url": "\K.*%%RESIN_ARCH%%\.tar\.gz' \
| xargs -n1 curl -Ls \
| tar -xvz -C /usr/src/node/
# Move package.json to filesystem
COPY package.json /usr/src/node/
# Install npm modules and build the application
RUN npm install
COPY . /usr/src/node
RUN npm run build
# Start app
CMD ["bash", "/usr/src/node/start.sh"]