[odrs-web/oscp] Make use of scl_source
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web/oscp] Make use of scl_source
- Date: Tue, 13 Nov 2018 08:55:45 +0000 (UTC)
commit 9f40070eb55e0a713d2905b50d423796fe3377c9
Author: Andrea Veri <averi redhat com>
Date: Tue Nov 13 09:55:37 2018 +0100
Make use of scl_source
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Dockerfile b/Dockerfile
index fde0403..84d1474 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,7 +13,7 @@ WORKDIR ${ODRS_HOME}
COPY app_data ${ODRS_HOME}
COPY requirements.txt .
-RUN /bin/bash -c "source /opt/rh/rh-python36/enable" && pip install -r requirements.txt
+RUN source scl_source enable rh-python36 && pip install -r requirements.txt
COPY odrs.gnome.org.conf /etc/httpd/conf.d/000-default.conf
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]