blob: 76f0a19abeb2649d65675a794e8860684c74fa04 (
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
28
|
# Dockerfile for building Alpine-based image, via Ansible playbooks.
#
# @see https://github.com/gliderlabs/docker-alpine/blob/master/docs/usage.md
#
# Version 1.0
#
# pull base image
FROM alpine:3.4
MAINTAINER William Yeh <william.pjyeh@gmail.com>
#ENV APK_LIST apk-list
#ENV PIP_LIST pip-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/*
|