[odrs-web/oscp] Needs a group created as well
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web/oscp] Needs a group created as well
- Date: Mon, 12 Nov 2018 18:42:46 +0000 (UTC)
commit 5ee429a492df7dc53325ef45773b753d18460ca5
Author: Andrea Veri <averi redhat com>
Date: Mon Nov 12 19:42:39 2018 +0100
Needs a group created as well
Dockerfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/Dockerfile b/Dockerfile
index fd6a258..bd573ba 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,7 +19,8 @@ COPY odrs.gnome.org.conf /etc/apache2/conf.d/000-default.conf
RUN sed -i 's/Listen 80/Listen 8080/' /etc/apache2/httpd.conf
RUN sed -i 's/Listen 443/Listen 8443/' /etc/apache2/conf.d/ssl.conf
-RUN useradd -u 1001 -g 0 -d ${ODRS_HOME}/ -r -s /usr/sbin/nologin odrs
+RUN groupadd -g 1001 odrs
+RUN useradd -u 1001 -g 1001 -d ${ODRS_HOME}/ -r -s /usr/sbin/nologin odrs
RUN chown root:1001 /etc/apache2/conf.d && \
chown root:1001 /etc/apache2/conf.d/000-default.conf && \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]