[wgo-web] git requires an entry under /etc/passwd to work as expected
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wgo-web] git requires an entry under /etc/passwd to work as expected
- Date: Tue, 12 Mar 2019 16:26:56 +0000 (UTC)
commit e064c4d3293a538534f58b10451ebadcdf6c4c83
Author: Andrea Veri <averi redhat com>
Date: Tue Mar 12 17:26:44 2019 +0100
git requires an entry under /etc/passwd to work as expected
Dockerfile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/Dockerfile b/Dockerfile
index 2180048..b2533cd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,8 +13,11 @@ COPY 00_www.gnome.org.conf /etc/httpd/conf.d
COPY gnome-custom.aug /tmp
RUN augtool -f /tmp/gnome-custom.aug
+RUN groupadd wgo -g 1000370000 && \
+ useradd wgo -g 1000370000 -u 1000370000 -r -l
+
EXPOSE 8443
-USER 1001
+USER wgo
WORKDIR /srv/http/www.gnome.org
ENTRYPOINT ["/usr/bin/run-httpd"]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]