From: William Yeh Date: Wed, 15 Jun 2016 10:29:08 +0000 (+0800) Subject: Add: sudo for Alpine images to better emulate normal OS behavior. X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=091f78b5ddee77b5c3e094f3847406c8559a659b;p=github%2Ffretlink%2Fdocker-ansible.git Add: sudo for Alpine images to better emulate normal OS behavior. --- 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 MAINTAINER William Yeh -RUN echo "===> Adding Python runtime..." && \ +RUN echo "===> Installing sudo to emulate normal OS behavior..." && \ + apk --update add sudo && \ + \ + \ + echo "===> Adding Python runtime..." && \ apk --update add python py-pip openssl ca-certificates && \ apk --update add --virtual build-dependencies \ 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 MAINTAINER William Yeh -RUN echo "===> Adding Python runtime..." && \ +RUN echo "===> Installing sudo to emulate normal OS behavior..." && \ + apk --update add sudo && \ + \ + \ + echo "===> Adding Python runtime..." && \ apk --update add python py-pip openssl ca-certificates && \ apk --update add --virtual build-dependencies \ 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 MAINTAINER William Yeh -RUN echo "===> Adding Python runtime..." && \ +RUN echo "===> Installing sudo to emulate normal OS behavior..." && \ + apk --update add sudo && \ + \ + \ + echo "===> Adding Python runtime..." && \ apk --update add python py-pip openssl ca-certificates && \ apk --update add --virtual build-dependencies \ 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 MAINTAINER William Yeh -RUN echo "===> Adding Python runtime..." && \ +RUN echo "===> Installing sudo to emulate normal OS behavior..." && \ + apk --update add sudo && \ + \ + \ + echo "===> Adding Python runtime..." && \ apk --update add python py-pip openssl ca-certificates && \ apk --update add --virtual build-dependencies \ 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 @@ # +# emulate normal OS behavior +sudo + # ssl openssl ca-certificates