diff options
author | William Yeh <william.pjyeh@gmail.com> | 2016-06-15 18:29:08 +0800 |
---|---|---|
committer | William Yeh <william.pjyeh@gmail.com> | 2016-06-15 18:29:08 +0800 |
commit | 091f78b5ddee77b5c3e094f3847406c8559a659b (patch) | |
tree | 2f29390c54e139861e448acc75ec78be9b7909a5 /1.9-alpine3-onbuild/Dockerfile | |
parent | b1f3718d07a6a68116eb98bcb2156af7b39c2259 (diff) | |
download | docker-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/Dockerfile')
-rw-r--r-- | 1.9-alpine3-onbuild/Dockerfile | 6 |
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 | |||
12 | MAINTAINER William Yeh <william.pjyeh@gmail.com> | 12 | MAINTAINER William Yeh <william.pjyeh@gmail.com> |
13 | 13 | ||
14 | 14 | ||
15 | RUN echo "===> Adding Python runtime..." && \ | 15 | RUN 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 && \ |