Skip to content

Andersmholmgren/dockerfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockerfile

A library for manipulating Dockerfile

Usage

A simple usage example:

import 'package:dockerfile/dockerfile.dart';

main() {
  var dockerfile = new Dockerfile();

  dockerfile.from('google/dart', tag: dartVersion);
  dockerfile.run('pub', args: ['build']);
  dockerfile.add(somePath, otherPath);
  await dockerfile.save(saveDirectory);
}

Features and bugs

Please file feature requests and bugs at the issue tracker.