Yoctol/ansible-dockerfile

Name: ansible-dockerfile

Owner: YOCTOL INFO INC.

Description: null

Created: 2016-05-20 08:10:29.0

Updated: 2016-05-20 08:10:29.0

Pushed: 2017-10-31 13:27:52.0

Homepage: null

Size: 13

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Role Name

Role to render dockerfile with ease.

Requirements

Ansible >= 1.2

Role Variables
quired, the path where dockerfile to be rendered on the host.
: ~/Dockerfile

itonal, whether to show the details of role in comments. Default true.
_role_comment: true

quired, the image to be used in FROM instruciton as the base image.
: scratch

tional, the maintainer to be used in MAINTAINER instruction.
tainer: ''

tional, other instructions to be written in dockerfile.
 would fail if invalid instruction type is used.
ructions: []

tional template arguments, which are the args of template module except `src`.
 not set, default template settings are used.
eck http://docs.ansible.com/ansible/template_module.html.
r:
p:
:
up:
e:
date:
vel:
le:
pe:
er:
Example Playbook
sts: servers
les:
 - role: dockerfile
   dest: ~/docker/Dockerfile
   template_options: owner=root mode=u=rw,g=r,o=r
   show_role_comment: true
   from: python:latest
   matainer: me
   instructions:
     - ADD /my/app /to/app/path
     - CMD /init.sh
License

MIT

Author Information

Yoctol Info Inc.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.