aboutsummaryrefslogtreecommitdiffhomepage
path: root/alpine3/Dockerfile
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 /alpine3/Dockerfile
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 'alpine3/Dockerfile')
-rw-r--r--alpine3/Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/alpine3/Dockerfile b/alpine3/Dockerfile
index cb3bd66..f15b44e 100644
--- a/alpine3/Dockerfile
+++ b/alpine3/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 && \