[extensions-web] openshift: COPY --chown is not supported for now



commit 55274282b746e02713b1a15096781ee72758a874
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Tue Dec 4 00:11:09 2018 +0400

    openshift: COPY --chown is not supported for now

 docker/Dockerfile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/docker/Dockerfile b/docker/Dockerfile
index d98bad8..d0a8104 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -56,9 +56,11 @@ RUN set -ex \
 
 RUN mkdir -p /extensions-web/app
 WORKDIR /extensions-web/app
-COPY --chown=www-data:www-data . /extensions-web/app
-COPY --chown=www-data:www-data docker/wsgi.ini /extensions-web
+COPY . /extensions-web/app
+COPY docker/wsgi.ini /extensions-web
 RUN set -ex \
+       && chown www-data:www-data -R /extensions-web/app
+       && chown www-data:www-data /extensions-web/wsgi.ini
        && pip install -r requirements.txt \
        && pip install mysql-python \
        && pip install uWSGI


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