[connfa-web] Tweak users accordingly
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [connfa-web] Tweak users accordingly
- Date: Tue, 18 Jun 2019 17:01:41 +0000 (UTC)
commit f3af9ba66104c7fb1bdc02586599af4bf8a6dcf8
Author: Andrea Veri <averi redhat com>
Date: Tue Jun 18 19:01:37 2019 +0200
Tweak users accordingly
Dockerfile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/Dockerfile b/Dockerfile
index 23ebdc4..2785b31 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@ RUN yum -y install git && \
RUN wget
https://raw.githubusercontent.com/composer/getcomposer.org/3c21a2c1affd88dd3fec6251e91a53e440bc2198/web/installer
-O - -q | php -- --quiet --install-dir=/usr/bin/ --filename=composer
RUN install -dm750 -o default -g root /app
-USER default
+USER 1000630000
WORKDIR /app
RUN git clone https://github.com/lemberg/connfa-integration-server connfa
RUN cd connfa && composer install --no-interaction --no-suggest --no-dev
@@ -17,9 +17,11 @@ COPY httpd.conf /etc/httpd/conf.d/connfa.conf
WORKDIR /app/connfa
+USER root
RUN chown -R 1000630000:0 /app/connfa && \
chmod -R 664 /app/connfa && \
find /app/connfa -type d -exec chmod 775 {} +
+USER 1000630000
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]