You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bb...@apache.org on 2018/09/14 13:20:50 UTC

[mesos] branch master updated: Added Python 3.6 and pip to Docker ARM image.

This is an automated email from the ASF dual-hosted git repository.

bbannier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 0fa42f8  Added Python 3.6 and pip to Docker ARM image.
0fa42f8 is described below

commit 0fa42f82770a4afca1908449f0cfd41e5383988e
Author: Tomasz Janiszewski <ja...@gmail.com>
AuthorDate: Fri Sep 14 14:05:19 2018 +0200

    Added Python 3.6 and pip to Docker ARM image.
    
    Following the update of the CLI to Python 3, we embed Python 3.6 (the
    minimum required Python version) into the Docker images used during
    continuous integration.
    
    Refs: cbdb6a5e1c0bb2e61dd0887cfae424ac2422b94d
    Fixes: https://issues.apache.org/jira/browse/MESOS-9229
---
 support/mesos-build/ubuntu-16.04-arm.dockerfile | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/support/mesos-build/ubuntu-16.04-arm.dockerfile b/support/mesos-build/ubuntu-16.04-arm.dockerfile
index 352156f..a4e191f 100644
--- a/support/mesos-build/ubuntu-16.04-arm.dockerfile
+++ b/support/mesos-build/ubuntu-16.04-arm.dockerfile
@@ -39,7 +39,20 @@ RUN apt-get update && \
       python-dev \
       python-six \
       sed \
-      zlib1g-dev && \
+      zlib1g-dev \
+      software-properties-common \
+      python-software-properties && \
+    apt-get clean && \
+    rm -rf /var/lib/apt/lists
+
+# Install Python 3.6.
+RUN add-apt-repository -y ppa:deadsnakes/ppa && \
+    apt-get update && \
+    apt-get install -qy \
+      python3.6 \
+      python3.6-dev \
+      python3.6-venv && \
+    add-apt-repository --remove -y ppa:deadsnakes/ppa && \
     apt-get clean && \
     rm -rf /var/lib/apt/lists