Dockerfile, helper scripts copied from the interwebs