aboutsummaryrefslogtreecommitdiffhomepage
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
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.
-rw-r--r--1.9-alpine3-onbuild/Dockerfile6
-rw-r--r--1.9-alpine3/Dockerfile6
-rw-r--r--alpine3-onbuild/Dockerfile6
-rw-r--r--alpine3/Dockerfile6
-rw-r--r--mini-alpine3/apk-list3
5 files changed, 23 insertions, 4 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 && \
diff --git a/1.9-alpine3/Dockerfile b/1.9-alpine3/Dockerfile
index 4aae495..dd0f536 100644
--- a/1.9-alpine3/Dockerfile
+++ b/1.9-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 && \
diff --git a/alpine3-onbuild/Dockerfile b/alpine3-onbuild/Dockerfile
index c498189..6d62b4e 100644
--- a/alpine3-onbuild/Dockerfile
+++ b/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 && \
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 && \
diff --git a/mini-alpine3/apk-list b/mini-alpine3/apk-list
index 4c5a0cc..7b3f966 100644
--- a/mini-alpine3/apk-list
+++ b/mini-alpine3/apk-list
@@ -4,6 +4,9 @@
4# 4#
5 5
6 6
7# emulate normal OS behavior
8sudo
9
7# ssl 10# ssl
8openssl ca-certificates 11openssl ca-certificates
9 12