aboutsummaryrefslogtreecommitdiffhomepage
path: root/mini-debian8/Dockerfile
blob: d45d4e63ca3b49b2ffb75f3628c91861a5d636e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Dockerfile for building Debian-based image, via Ansible playbooks.
#
# @see http://docs.ansible.com/ansible/intro_installation.html#running-from-source
#
# Version  1.0
#


# pull base image
FROM debian:8

MAINTAINER William Yeh <william.pjyeh@gmail.com>

#ENV APT_LIST  apt-list


COPY  .  /tmp

ONBUILD COPY . /tmp
ONBUILD RUN \
    cd /tmp                     && \
    ./prepare-pkg-list.sh       && \
    ./install-ansible.sh        && \
    ./ansible-playbook-wrapper  && \
    ./uninstall-ansible.sh      && \
    cd /                        && \
    rm -rf /tmp/*