]> git.immae.eu Git - github/fretlink/docker-ansible.git/blame_incremental - mini-alpine3/Dockerfile
debian9: use "slim" version of debian image
[github/fretlink/docker-ansible.git] / mini-alpine3 / Dockerfile
... / ...
CommitLineData
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.6
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/*