From 7d885c87026bc44450b79f504b9a5becf0969783 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Mon, 29 Aug 2016 11:32:52 +0800 Subject: Add: rsync for some Alpine images to make it convenient for "synchronize" module. --- 1.9-alpine3/Dockerfile | 2 +- README.md | 13 +++++++------ alpine3/Dockerfile | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/1.9-alpine3/Dockerfile b/1.9-alpine3/Dockerfile index dd0f536..7c32844 100644 --- a/1.9-alpine3/Dockerfile +++ b/1.9-alpine3/Dockerfile @@ -28,7 +28,7 @@ RUN echo "===> Installing sudo to emulate normal OS behavior..." && \ \ \ echo "===> Installing handy tools (not absolutely required)..." && \ - apk --update add sshpass openssh-client && \ + apk --update add sshpass openssh-client rsync && \ \ \ echo "===> Removing package list..." && \ diff --git a/README.md b/README.md index de9a362..a160dfb 100644 --- a/README.md +++ b/README.md @@ -16,20 +16,19 @@ This repository contains Dockerized [Ansible](https://github.com/ansible/ansible These are Docker images for [Ansible](https://github.com/ansible/ansible) software, installed in a selected Linux distributions. -- OS: Debian (jessie, wheezy), Ubuntu (xenial, trusty, precise), CentOS (7, 6), Alpine (3). +Base OS: Debian (jessie, wheezy), Ubuntu (xenial, trusty, precise), CentOS (7, 6), Alpine (3). -- Ansible: four versions - +Ansible: four versions are provided - 1. provides the most recent *stable* version of Ansible; suitable for most people. - 2. same as stable version, but is designed for building *minimal* images out of playbooks; i.e., the Ansible body will be removed when mission completed. + 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. 3. provides the old 1.9 version of Ansible. 4. provides the *experimental* version of Ansible; i.e., the master branch of git. - Each version is further divided into two variants: -- Normal variant: intended to be used as Ansible *control machines*, or in cases that is unsuitable in the onbuild variants. -- Onbuild variant: intended to be used to build Docker images. +- *Normal* variant: intended to be used as Ansible *control machines*, or in cases that is inadequate in the onbuild variants. +- *Onbuild* variant: intended to be used to build Docker images. ## Images and tags @@ -61,6 +60,8 @@ Each version is further divided into two variants: ### Minimal configuration (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. + - Onbuild variants: - `williamyeh/ansible:mini-alpine3` diff --git a/alpine3/Dockerfile b/alpine3/Dockerfile index f15b44e..f99b7fc 100644 --- a/alpine3/Dockerfile +++ b/alpine3/Dockerfile @@ -28,7 +28,7 @@ RUN echo "===> Installing sudo to emulate normal OS behavior..." && \ \ \ echo "===> Installing handy tools (not absolutely required)..." && \ - apk --update add sshpass openssh-client && \ + apk --update add sshpass openssh-client rsync && \ \ \ echo "===> Removing package list..." && \ -- cgit v1.2.3