aboutsummaryrefslogblamecommitdiffhomepage
path: root/mini-debian8/Dockerfile
blob: d45d4e63ca3b49b2ffb75f3628c91861a5d636e6 (plain) (tree)


























                                                                                  
# 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/*