aboutsummaryrefslogtreecommitdiffhomepage
path: root/mini-debian9/Dockerfile
diff options
context:
space:
mode:
authorWilliam Yeh <william.pjyeh@gmail.com>2017-09-14 15:57:43 +0800
committerWilliam Yeh <william.pjyeh@gmail.com>2017-09-14 17:56:59 +0800
commitdeeab1a101da6710574174dbe47199f9e8900b93 (patch)
tree95605a54ab972f9b821267be534103803fb84f2a /mini-debian9/Dockerfile
parent57d366d79328ee5d127d05644b108bd4f7915cdc (diff)
downloaddocker-ansible-deeab1a101da6710574174dbe47199f9e8900b93.tar.gz
docker-ansible-deeab1a101da6710574174dbe47199f9e8900b93.tar.zst
docker-ansible-deeab1a101da6710574174dbe47199f9e8900b93.zip
Add: Debian 9 ("Stretch") support.
Diffstat (limited to 'mini-debian9/Dockerfile')
-rw-r--r--mini-debian9/Dockerfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/mini-debian9/Dockerfile b/mini-debian9/Dockerfile
new file mode 100644
index 0000000..8de9dd0
--- /dev/null
+++ b/mini-debian9/Dockerfile
@@ -0,0 +1,27 @@
1# Dockerfile for building Debian-based image, via Ansible playbooks.
2#
3# @see http://docs.ansible.com/ansible/intro_installation.html#running-from-source
4#
5# Version 1.0
6#
7
8
9# pull base image
10FROM debian:9
11
12MAINTAINER William Yeh <william.pjyeh@gmail.com>
13
14#ENV APT_LIST apt-list
15
16
17COPY . /tmp
18
19ONBUILD COPY . /tmp
20ONBUILD RUN \
21 cd /tmp && \
22 ./prepare-pkg-list.sh && \
23 ./install-ansible.sh && \
24 ./ansible-playbook-wrapper && \
25 ./uninstall-ansible.sh && \
26 cd / && \
27 rm -rf /tmp/* \ No newline at end of file