#!/bin/bash -e cat < nodejs You can then run the resulting image via: docker run EOF