aboutsummaryrefslogtreecommitdiffhomepage
path: root/mini-alpine3/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'mini-alpine3/Dockerfile')
-rw-r--r--mini-alpine3/Dockerfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/mini-alpine3/Dockerfile b/mini-alpine3/Dockerfile
new file mode 100644
index 0000000..2287deb
--- /dev/null
+++ b/mini-alpine3/Dockerfile
@@ -0,0 +1,28 @@
1# Dockerfile for building Alpine-based image, via Ansible playbooks.
2#
3# @see https://github.com/gliderlabs/docker-alpine/blob/master/docs/usage.md
4#
5# Version 1.0
6#
7
8
9# pull base image
10FROM alpine:3.3
11
12MAINTAINER William Yeh <william.pjyeh@gmail.com>
13
14#ENV APK_LIST apk-list
15#ENV PIP_LIST pip-list
16
17
18COPY . /tmp
19
20ONBUILD COPY . /tmp
21ONBUILD RUN \
22 cd /tmp && \
23 ./prepare-pkg-list.sh && \
24 ./install-ansible.sh && \
25 ./ansible-playbook-wrapper && \
26 ./uninstall-ansible.sh && \
27 cd / && \
28 rm -rf /tmp/*