Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

mijime/gulp-dockerode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-dockerode

Installation

$ npm install gulp-dockerode@git://github.com/mijime/gulp-dockerode.git

Example

write gulpfile.js

var gulp = require('gulp');
var dockerode = require('gulp-dockerode');

gulp.task('default', function() {
  gulp.src('test.txt')
    .pipe(dockerode({
        Image: 'ubuntu', // require
        Cmd: ['sed', 's/Current/New/g'], // require
      }))
    .pipe(gulp.dest('dist'));
});

and exec

$ docker pull ubuntu

$ cat << EOF > test.txt
Current directory
EOF

$ gulp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published