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