Hello, my Resin applications are generally rooted at
resin/raspberrypi3-debian:latest and I would like to integrate the Resin CLI into my environment to get more functionality from the Resin APIs. Now, I see the installation instructions here, but I’ve had a very tough time getting node to install as part of my system package installation Dockerfile stanza. After trying a few options found on the Internet, I basically gave up.
What is the correct Node installation incantation for Debian? I’ll be honest that I’d prefer not to take a NodeJS dependency in my container if I don’t already have this. Are there other CLI variants that I could use?
Edit: here’s an example of the last attempt to get NodeJS installed (setup_6.x and setup_8.x each failed in different ways):
RUN curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - \ && apt-get install -y --no-install-recommends \ nodejs \ && npm install --global --production resin-cli
I currently interact with the Resin APIs through a Python wrapper around the Resin SDK for Python: https://github.com/resin-io/resin-sdk-python