diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 47 |
1 files changed, 13 insertions, 34 deletions
@@ -16,14 +16,20 @@ This repository contains Dockerized [Ansible](https://github.com/ansible/ansible | |||
16 | 16 | ||
17 | These are Docker images for [Ansible](https://github.com/ansible/ansible) software, installed in a selected Linux distributions. | 17 | These are Docker images for [Ansible](https://github.com/ansible/ansible) software, installed in a selected Linux distributions. |
18 | 18 | ||
19 | Base OS: Debian (jessie, wheezy), Ubuntu (xenial, trusty, precise), CentOS (7, 6), Alpine (3). | 19 | ### Base OS |
20 | 20 | ||
21 | Ansible: four versions are provided - | 21 | Debian (jessie), Ubuntu (xenial, trusty), CentOS (7), Alpine (3). |
22 | |||
23 | Supports for Wheezy, Precise, and CentOS6 have been ended since Sep 2017. | ||
24 | |||
25 | ### Ansible | ||
26 | |||
27 | Four versions are provided: | ||
22 | 28 | ||
23 | 1. provides the most recent *stable* version of Ansible; suitable for most people. | 29 | 1. provides the most recent *stable* version of Ansible; suitable for most people. |
24 | 2. same as stable version, but is designed for building (near-)*minimal* images out of playbooks; i.e., the Ansible body will be removed when mission completed. Refer to “[Build Docker images with Ansible: A half-blood approach](https://github.com/William-Yeh/build-docker-with-ansible)” for working examples and slides. | 30 | 2. same as stable version, but is designed for building (near-)*minimal* images out of playbooks; i.e., the Ansible body will be removed when mission completed. Refer to “[Build Docker images with Ansible: A half-blood approach](https://github.com/William-Yeh/build-docker-with-ansible)” for working examples and slides. |
25 | 3. provides the old 1.9 version of Ansible. | 31 | 3. provides the old 1.9 version of Ansible (but will be retired someday). |
26 | 4. provides the *experimental* version of Ansible; i.e., the master branch of git. | 32 | 4. provides the *experimental* version of Ansible; i.e., the master branch of official [Ansible's git repo](https://github.com/ansible/ansible). |
27 | 33 | ||
28 | Each version is further divided into two variants: | 34 | Each version is further divided into two variants: |
29 | 35 | ||
@@ -38,23 +44,17 @@ Each version is further divided into two variants: | |||
38 | - Normal variants: | 44 | - Normal variants: |
39 | 45 | ||
40 | - `williamyeh/ansible:debian8` | 46 | - `williamyeh/ansible:debian8` |
41 | - `williamyeh/ansible:debian7` | ||
42 | - `williamyeh/ansible:ubuntu16.04` | 47 | - `williamyeh/ansible:ubuntu16.04` |
43 | - `williamyeh/ansible:ubuntu14.04` | 48 | - `williamyeh/ansible:ubuntu14.04` |
44 | - `williamyeh/ansible:ubuntu12.04` | ||
45 | - `williamyeh/ansible:centos7` | 49 | - `williamyeh/ansible:centos7` |
46 | - `williamyeh/ansible:centos6` | ||
47 | - `williamyeh/ansible:alpine3` | 50 | - `williamyeh/ansible:alpine3` |
48 | 51 | ||
49 | - Onbuild variants (*recommended for common cases*): | 52 | - Onbuild variants (*recommended for common cases*): |
50 | 53 | ||
51 | - `williamyeh/ansible:debian8-onbuild` | 54 | - `williamyeh/ansible:debian8-onbuild` |
52 | - `williamyeh/ansible:debian7-onbuild` | ||
53 | - `williamyeh/ansible:ubuntu16.04-onbuild` | 55 | - `williamyeh/ansible:ubuntu16.04-onbuild` |
54 | - `williamyeh/ansible:ubuntu14.04-onbuild` | 56 | - `williamyeh/ansible:ubuntu14.04-onbuild` |
55 | - `williamyeh/ansible:ubuntu12.04-onbuild` | ||
56 | - `williamyeh/ansible:centos7-onbuild` | 57 | - `williamyeh/ansible:centos7-onbuild` |
57 | - `williamyeh/ansible:centos6-onbuild` | ||
58 | - `williamyeh/ansible:alpine3-onbuild` | 58 | - `williamyeh/ansible:alpine3-onbuild` |
59 | 59 | ||
60 | 60 | ||
@@ -68,26 +68,20 @@ Refer to “[Build Docker images with Ansible: A half-blood approach](https://gi | |||
68 | - `williamyeh/ansible:mini-debian8` | 68 | - `williamyeh/ansible:mini-debian8` |
69 | 69 | ||
70 | 70 | ||
71 | ### Old 1.9 version: | 71 | ### Old 1.9 version (will be retired someday): |
72 | |||
73 | Note: Ansible 1.9 was not supported in CentOS EPEL since January 2017, according to [this announcement](http://www.spinics.net/linux/fedora/epel-devel/msg00792.html). | ||
72 | 74 | ||
73 | - Normal variants: | 75 | - Normal variants: |
74 | 76 | ||
75 | - `williamyeh/ansible:1.9-debian8` | 77 | - `williamyeh/ansible:1.9-debian8` |
76 | - `williamyeh/ansible:1.9-debian7` | ||
77 | - `williamyeh/ansible:1.9-ubuntu14.04` | 78 | - `williamyeh/ansible:1.9-ubuntu14.04` |
78 | - `williamyeh/ansible:1.9-ubuntu12.04` | ||
79 | - `williamyeh/ansible:1.9-centos7` | ||
80 | - `williamyeh/ansible:1.9-centos6` | ||
81 | - `williamyeh/ansible:1.9-alpine3` | 79 | - `williamyeh/ansible:1.9-alpine3` |
82 | 80 | ||
83 | - Onbuild variants (*recommended for common cases*): | 81 | - Onbuild variants (*recommended for common cases*): |
84 | 82 | ||
85 | - `williamyeh/ansible:1.9-debian8-onbuild` | 83 | - `williamyeh/ansible:1.9-debian8-onbuild` |
86 | - `williamyeh/ansible:1.9-debian7-onbuild` | ||
87 | - `williamyeh/ansible:1.9-ubuntu14.04-onbuild` | 84 | - `williamyeh/ansible:1.9-ubuntu14.04-onbuild` |
88 | - `williamyeh/ansible:1.9-ubuntu12.04-onbuild` | ||
89 | - `williamyeh/ansible:1.9-centos7-onbuild` | ||
90 | - `williamyeh/ansible:1.9-centos6-onbuild` | ||
91 | - `williamyeh/ansible:1.9-alpine3-onbuild` | 85 | - `williamyeh/ansible:1.9-alpine3-onbuild` |
92 | 86 | ||
93 | 87 | ||
@@ -96,22 +90,16 @@ Refer to “[Build Docker images with Ansible: A half-blood approach](https://gi | |||
96 | - Normal variants: | 90 | - Normal variants: |
97 | 91 | ||
98 | - `williamyeh/ansible:master-debian8` | 92 | - `williamyeh/ansible:master-debian8` |
99 | - `williamyeh/ansible:master-debian7` | ||
100 | - `williamyeh/ansible:master-ubuntu16.04` | 93 | - `williamyeh/ansible:master-ubuntu16.04` |
101 | - `williamyeh/ansible:master-ubuntu14.04` | 94 | - `williamyeh/ansible:master-ubuntu14.04` |
102 | - `williamyeh/ansible:master-ubuntu12.04` | ||
103 | - `williamyeh/ansible:master-centos7` | 95 | - `williamyeh/ansible:master-centos7` |
104 | - `williamyeh/ansible:master-centos6` | ||
105 | 96 | ||
106 | - Onbuild variants (*recommended for common cases*): | 97 | - Onbuild variants (*recommended for common cases*): |
107 | 98 | ||
108 | - `williamyeh/ansible:master-debian8-onbuild` | 99 | - `williamyeh/ansible:master-debian8-onbuild` |
109 | - `williamyeh/ansible:master-debian7-onbuild` | ||
110 | - `williamyeh/ansible:master-ubuntu16.04-onbuild` | 100 | - `williamyeh/ansible:master-ubuntu16.04-onbuild` |
111 | - `williamyeh/ansible:master-ubuntu14.04-onbuild` | 101 | - `williamyeh/ansible:master-ubuntu14.04-onbuild` |
112 | - `williamyeh/ansible:master-ubuntu12.04-onbuild` | ||
113 | - `williamyeh/ansible:master-centos7-onbuild` | 102 | - `williamyeh/ansible:master-centos7-onbuild` |
114 | - `williamyeh/ansible:master-centos6-onbuild` | ||
115 | 103 | ||
116 | 104 | ||
117 | 105 | ||
@@ -194,11 +182,8 @@ Vagrant.configure(2) do |config| | |||
194 | # ==> Choose a Vagrant box to emulate Linux distribution... | 182 | # ==> Choose a Vagrant box to emulate Linux distribution... |
195 | #config.vm.box = "ubuntu/xenial64" | 183 | #config.vm.box = "ubuntu/xenial64" |
196 | config.vm.box = "ubuntu/trusty64" | 184 | config.vm.box = "ubuntu/trusty64" |
197 | #config.vm.box = "ubuntu/precise64" | ||
198 | #config.vm.box = "debian/jessie64" | 185 | #config.vm.box = "debian/jessie64" |
199 | #config.vm.box = "debian/wheezy64" | ||
200 | #config.vm.box = "bento/centos-7.2" | 186 | #config.vm.box = "bento/centos-7.2" |
201 | #config.vm.box = "bento/centos-6.7" | ||
202 | #config.vm.box = "maier/alpine-3.3.1-x86_64" | 187 | #config.vm.box = "maier/alpine-3.3.1-x86_64" |
203 | 188 | ||
204 | 189 | ||
@@ -222,11 +207,8 @@ Docker to be a rescue. Now, with these **williamyeh/ansible** series, we may tes | |||
222 | # ==> Choose a base image to emulate Linux distribution... | 207 | # ==> Choose a base image to emulate Linux distribution... |
223 | #FROM williamyeh/ansible:ubuntu16.04 | 208 | #FROM williamyeh/ansible:ubuntu16.04 |
224 | FROM williamyeh/ansible:ubuntu14.04 | 209 | FROM williamyeh/ansible:ubuntu14.04 |
225 | #FROM williamyeh/ansible:ubuntu12.04 | ||
226 | #FROM williamyeh/ansible:debian8 | 210 | #FROM williamyeh/ansible:debian8 |
227 | #FROM williamyeh/ansible:debian7 | ||
228 | #FROM williamyeh/ansible:centos7 | 211 | #FROM williamyeh/ansible:centos7 |
229 | #FROM williamyeh/ansible:centos6 | ||
230 | #FROM williamyeh/ansible:alpine3 | 212 | #FROM williamyeh/ansible:alpine3 |
231 | 213 | ||
232 | 214 | ||
@@ -250,11 +232,8 @@ You may also work with `onbuild` variants, which take care of many routine steps | |||
250 | # ==> Choose a base image to emulate Linux distribution... | 232 | # ==> Choose a base image to emulate Linux distribution... |
251 | #FROM williamyeh/ansible:ubuntu16.04-onbuild | 233 | #FROM williamyeh/ansible:ubuntu16.04-onbuild |
252 | FROM williamyeh/ansible:ubuntu14.04-onbuild | 234 | FROM williamyeh/ansible:ubuntu14.04-onbuild |
253 | #FROM williamyeh/ansible:ubuntu12.04-onbuild | ||
254 | #FROM williamyeh/ansible:debian8-onbuild | 235 | #FROM williamyeh/ansible:debian8-onbuild |
255 | #FROM williamyeh/ansible:debian7-onbuild | ||
256 | #FROM williamyeh/ansible:centos7-onbuild | 236 | #FROM williamyeh/ansible:centos7-onbuild |
257 | #FROM williamyeh/ansible:centos6-onbuild | ||
258 | #FROM williamyeh/ansible:alpine3-onbuild | 237 | #FROM williamyeh/ansible:alpine3-onbuild |
259 | 238 | ||
260 | 239 | ||