]> git.immae.eu Git - github/fretlink/docker-ansible.git/commitdiff
Add: sudo for Alpine images to better emulate normal OS behavior.
authorWilliam Yeh <william.pjyeh@gmail.com>
Wed, 15 Jun 2016 10:29:08 +0000 (18:29 +0800)
committerWilliam Yeh <william.pjyeh@gmail.com>
Wed, 15 Jun 2016 10:29:08 +0000 (18:29 +0800)
1.9-alpine3-onbuild/Dockerfile
1.9-alpine3/Dockerfile
alpine3-onbuild/Dockerfile
alpine3/Dockerfile
mini-alpine3/apk-list

index 18c075d36ce1d37866118a73423d0f190b352529..95687a535c3b0555121a436eb40ba8c4b3cb21ea 100644 (file)
@@ -12,7 +12,11 @@ FROM alpine:3.4
 MAINTAINER William Yeh <william.pjyeh@gmail.com>
 
 
-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  && \
index 4aae495e6ef1933611b04130bcc3f6d867aa4396..dd0f536d8797a70b45e4867019671589fb1a4ce4 100644 (file)
@@ -12,7 +12,11 @@ FROM alpine:3.4
 MAINTAINER William Yeh <william.pjyeh@gmail.com>
 
 
-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  && \
index c4981896d4362e9aa7fbcb1bda987fbe731536cb..6d62b4e5838a1021886e6056cd7d7f5c44a1d65c 100644 (file)
@@ -12,7 +12,11 @@ FROM alpine:3.4
 MAINTAINER William Yeh <william.pjyeh@gmail.com>
 
 
-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  && \
index cb3bd661b80a684071857087a1f6f70cd1bdfa67..f15b44eb375d6b6ba6f8e6558d8a38fc0015d1d5 100644 (file)
@@ -12,7 +12,11 @@ FROM alpine:3.4
 MAINTAINER William Yeh <william.pjyeh@gmail.com>
 
 
-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  && \
index 4c5a0cc5ce362d746668243c9d6f7c1681d8f1ca..7b3f96630ee189ad0b99b9ff421586e33da701e7 100644 (file)
@@ -4,6 +4,9 @@
 #
 
 
+# emulate normal OS behavior
+sudo
+
 # ssl
 openssl ca-certificates