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. --- alpine3-onbuild/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'alpine3-onbuild') 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 && \ -- cgit v1.2.3