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:
FROM resin/rpi-raspbian:jessie
to any of the base OS images from the resin.io docker hub.
For an explanation on how resin.io uses Dockerfiles check out the Dockerfile guide . Additionally if you want to learn how to optimise your Dockerfile look over here
Note: Obviously apt package manager will only work in Debian environments.