[library-web/oscp] git requires an user present within /etc/passwd
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web/oscp] git requires an user present within /etc/passwd
- Date: Mon, 24 Feb 2020 13:32:58 +0000 (UTC)
commit 8e91179f10a80230b6a5a6392b7f1afdd20a5e31
Author: Andrea Veri <av gnome org>
Date: Mon Feb 24 13:32:52 2020 +0000
git requires an user present within /etc/passwd
httpd/Dockerfile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/httpd/Dockerfile b/httpd/Dockerfile
index 40ab8cc..3490247 100644
--- a/httpd/Dockerfile
+++ b/httpd/Dockerfile
@@ -13,8 +13,10 @@ RUN git clone https://gitlab.gnome.org/Infrastructure/library-web.git /opt/lgo &
ADD developer.lgorc /opt/app-root/src
COPY app_data /opt/app-root/src
-RUN chown -R 1000390000:1000390000 /opt/app-root/src
-RUN chown -R 1000390000:1000390000 /opt/lgo
+RUN groupadd lgo -g 1000390000 && \
+ useradd lgo -g 1000390000 -u 1000390000 -r -l -m
+RUN chown -R lgo:lgo /opt/app-root/src
+RUN chown -R lgo:lgo /opt/lgo
EXPOSE 8080
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]