aboutsummaryrefslogtreecommitdiffhomepage
path: root/1.9-alpine3-onbuild
diff options
context:
space:
mode:
authorWilliam Yeh <william.pjyeh@gmail.com>2016-06-15 18:29:08 +0800
committerWilliam Yeh <william.pjyeh@gmail.com>2016-06-15 18:29:08 +0800
commit091f78b5ddee77b5c3e094f3847406c8559a659b (patch)
tree2f29390c54e139861e448acc75ec78be9b7909a5 /1.9-alpine3-onbuild
parentb1f3718d07a6a68116eb98bcb2156af7b39c2259 (diff)
downloaddocker-ansible-091f78b5ddee77b5c3e094f3847406c8559a659b.tar.gz
docker-ansible-091f78b5ddee77b5c3e094f3847406c8559a659b.tar.zst
docker-ansible-091f78b5ddee77b5c3e094f3847406c8559a659b.zip
Add: sudo for Alpine images to better emulate normal OS behavior.
Diffstat (limited to '1.9-alpine3-onbuild')
-rw-r--r--1.9-alpine3-onbuild/Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/1.9-alpine3-onbuild/Dockerfile b/1.9-alpine3-onbuild/Dockerfile
index 18c075d..95687a5 100644
--- a/1.9-alpine3-onbuild/Dockerfile
+++ b/1.9-alpine3-onbuild/Dockerfile
@@ -12,7 +12,11 @@ FROM alpine:3.4
12MAINTAINER William Yeh <william.pjyeh@gmail.com> 12MAINTAINER William Yeh <william.pjyeh@gmail.com>
13 13
14 14
15RUN echo "===> Adding Python runtime..." && \ 15RUN echo "===> Installing sudo to emulate normal OS behavior..." && \
16 apk --update add sudo && \
17 \
18 \
19 echo "===> Adding Python runtime..." && \
16 apk --update add python py-pip openssl ca-certificates && \ 20 apk --update add python py-pip openssl ca-certificates && \
17 apk --update add --virtual build-dependencies \ 21 apk --update add --virtual build-dependencies \
18 python-dev libffi-dev openssl-dev build-base && \ 22 python-dev libffi-dev openssl-dev build-base && \