[odrs-web/oscp] Python 2 ships with RPMs for the reqs we need
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web/oscp] Python 2 ships with RPMs for the reqs we need
- Date: Tue, 13 Nov 2018 09:57:08 +0000 (UTC)
commit b4862a2c0b6adf6b9f613beb8d0730d24272169b
Author: Andrea Veri <averi redhat com>
Date: Tue Nov 13 10:56:51 2018 +0100
Python 2 ships with RPMs for the reqs we need
Dockerfile | 5 +----
requirements.txt | 4 ----
2 files changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 45f96ad..3dded12 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 python27-python python27-python-pip python27-mod_wsgi python27-python-devel -y
+RUN yum install gcc make python27-python python27-python-pip python27-mod_wsgi python27-python-devel
python-flask python2-flask-wtf python2-flask-login python2-PyMySQL -y
ENV ODRS_HOME=/opt/app-root/src \
LANG=C
@@ -12,9 +12,6 @@ WORKDIR ${ODRS_HOME}
COPY app_data ${ODRS_HOME}
-COPY 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]