aboutsummaryrefslogtreecommitdiffhomepage
path: root/mini-test
diff options
context:
space:
mode:
Diffstat (limited to 'mini-test')
-rw-r--r--mini-test/Dockerfile.alpine315
-rw-r--r--mini-test/playbook.yml5
2 files changed, 20 insertions, 0 deletions
diff --git a/mini-test/Dockerfile.alpine3 b/mini-test/Dockerfile.alpine3
new file mode 100644
index 0000000..78e7521
--- /dev/null
+++ b/mini-test/Dockerfile.alpine3
@@ -0,0 +1,15 @@
1# Dockerfile for building (near-)minimal nginx
2#
3
4
5# pull base image
6FROM ansible_mini_apline3
7
8MAINTAINER William Yeh <william.pjyeh@gmail.com>
9
10#ENV APK_LIST apk-list
11#ENV PIP_LIST pip-list
12
13ENTRYPOINT ["/usr/sbin/nginx"]
14#CMD ["-g", "daemon off;"]
15CMD ["-v"]
diff --git a/mini-test/playbook.yml b/mini-test/playbook.yml
new file mode 100644
index 0000000..898dfc5
--- /dev/null
+++ b/mini-test/playbook.yml
@@ -0,0 +1,5 @@
1- hosts: all
2 become: True
3 tasks:
4 - name: install nginx
5 apk: name=nginx state=present