[extensions-web/wip/openshift] openshift: substitute EGO_NODE_ADDRESS variable only



commit 3e2fae19cf91b03d0d26b9f9cc3b2901041c7a1b
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Thu Dec 6 23:59:50 2018 +0400

    openshift: substitute EGO_NODE_ADDRESS variable only

 openshift/docker/nginx/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/openshift/docker/nginx/Dockerfile b/openshift/docker/nginx/Dockerfile
index a82c234..ed8c8f7 100644
--- a/openshift/docker/nginx/Dockerfile
+++ b/openshift/docker/nginx/Dockerfile
@@ -5,7 +5,7 @@ MAINTAINER Yuri Konotopov <ykonotopov gnome org>
 COPY nginx.conf /tmp
 
 RUN set -ex \
-       && envsubst < /tmp/nginx.conf > /etc/nginx/nginx.conf \
+       && envsubst '$EGO_NODE_ADDRESS' < /tmp/nginx.conf > /etc/nginx/nginx.conf \
        && rm /tmp/nginx.conf \
        && mkdir -p /extensions-web/www \
        && chmod g+rwX -R /extensions-web/www \


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