[odrs-web/oscp] And then they figured the app is no py3 ready yet :)
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web/oscp] And then they figured the app is no py3 ready yet :)
- Date: Tue, 13 Nov 2018 09:49:45 +0000 (UTC)
commit 8fd941c31bc9e9613c2deb3badb2c3a3ab6f99fd
Author: Andrea Veri <averi redhat com>
Date: Tue Nov 13 10:49:28 2018 +0100
And then they figured the app is no py3 ready yet :)
Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 8bb40b9..2797842 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@ FROM centos/httpd-24-centos7
USER root
RUN yum update -y
-RUN yum install gcc make rh-python36 rh-python36-python-pip rh-python36-mod_wsgi rh-python36-scldevel -y
+RUN yum install gcc make python27-python python27-python-pip python27-mod_wsgi python27-python-devel
ENV ODRS_HOME=/opt/app-root/src \
LANG=C
@@ -13,7 +13,7 @@ WORKDIR ${ODRS_HOME}
COPY app_data ${ODRS_HOME}
COPY requirements.txt .
-RUN source scl_source enable rh-python36 && pip install -r requirements.txt
+RUN source scl_source enable python27 && pip install -r requirements.txt
COPY odrs.gnome.org.conf /etc/httpd/conf.d/000-default.conf
RUN rm /etc/httpd/conf.d/welcome.conf
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]