From 091f78b5ddee77b5c3e094f3847406c8559a659b Mon Sep 17 00:00:00 2001 From: William Yeh Date: Wed, 15 Jun 2016 18:29:08 +0800 Subject: Add: sudo for Alpine images to better emulate normal OS behavior. --- 1.9-alpine3-onbuild/Dockerfile | 6 +++++- 1.9-alpine3/Dockerfile | 6 +++++- alpine3-onbuild/Dockerfile | 6 +++++- alpine3/Dockerfile | 6 +++++- mini-alpine3/apk-list | 3 +++ 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 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 -- cgit v1.2.3