[extensions-web] openshift: use python 3.6 for extensions-web image



commit cd5f6b5075a7087607c086c2a571fb3b1aeb27c9
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Fri Jan 11 20:49:39 2019 +0400

    openshift: use python 3.6 for extensions-web image

 openshift/docker/Dockerfile                   | 4 ++--
 openshift/templates/extensions-web-nginx.json | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/openshift/docker/Dockerfile b/openshift/docker/Dockerfile
index cfa0204..7fec13d 100644
--- a/openshift/docker/Dockerfile
+++ b/openshift/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:2
+FROM python:3.6-stretch
 
 MAINTAINER Yuri Konotopov <ykonotopov gnome org>
 
@@ -43,7 +43,7 @@ RUN set -ex \
        && rm -r /usr/src/xapian-core \
        && cd /usr/src/xapian-bindings \
        && ./configure \
-               --with-python \
+               --with-python3 \
        && make -j "$(nproc)" \
        && make install \
        && find /usr/local -depth \
diff --git a/openshift/templates/extensions-web-nginx.json b/openshift/templates/extensions-web-nginx.json
index 7be7d52..e77e33b 100644
--- a/openshift/templates/extensions-web-nginx.json
+++ b/openshift/templates/extensions-web-nginx.json
@@ -144,10 +144,10 @@
       "spec": {
         "tags": [
           {
-            "name": "2.7-stretch",
+            "name": "3.6-stretch",
             "from": {
               "kind": "DockerImage",
-              "name": "python:2.7-stretch"
+              "name": "python:3.6-stretch"
             },
             "importPolicy": {
               "scheduled": true
@@ -183,7 +183,7 @@
             "forcePull": true,
             "from": {
               "kind": "ImageStreamTag",
-              "name": "python:2.7-stretch"
+              "name": "python:3.6-stretch"
             },
             "env": [
                 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]