Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 595 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 595 Bytes

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.