virtual-dockerfile
v0.0.4
Published
Node api to build docker images programmatically
Downloads
8
Readme
node-virtual-dockerfile
Node api to build docker images programmatically
Usage:
VirtualDockerfile = require('virtual-dockerfile');
image = new VirtualDockerfile from: 'ubuntu:latest'
image.run 'apt-get install ruby'
image.copy '/file/on/my/local/system', '/destination/in/docker/image'
image.build tag: 'my_image_tag', (err) ->