blob: 8de9dd0105c8acfdfdd99c78586ee8553b294ab5 (
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:9
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/*
|