This is a barebones resin.io project to demonstrate running python code. Currently it is targeting a raspberry pi and builds upon a debian wheezy base image. However, it is easy to change this to target any of the other targeted platforms supported by resin.io, all that you need to do is change the line:
to any of the base OS images from the resin.io docker hub.
Note: Obviously apt package manager will only work in Debian environments.