[library-web/oscp] git requires an actual user to be there on /etc/passwd
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web/oscp] git requires an actual user to be there on /etc/passwd
- Date: Mon, 24 Feb 2020 11:28:00 +0000 (UTC)
commit 32f6cb80e8389710e98b8ef588be5c6155812fef
Author: Andrea Veri <av gnome org>
Date: Mon Feb 24 11:27:56 2020 +0000
git requires an actual user to be there on /etc/passwd
lgo/Dockerfile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/lgo/Dockerfile b/lgo/Dockerfile
index dfe33ab..0c66f90 100644
--- a/lgo/Dockerfile
+++ b/lgo/Dockerfile
@@ -17,6 +17,9 @@ ADD library-web.lgorc developer.lgorc /opt/
ADD release-notes-gen /usr/local/bin/release-notes-gen
ADD entrypoint.sh /entrypoint.sh
-RUN chown -R 1000390000:1000390000 /opt/lgo/data
+RUN groupadd lgo -g 1000390000 && \
+ useradd lgo -g 1000390000 -u 1000390000 -r -l -m && \
+
+RUN chown -R lgo:lgo /opt/lgo/data
ENTRYPOINT ["/entrypoint.sh"]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]