[damned-lies/oscp] Use the assigned uid/gid for the openshift project
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies/oscp] Use the assigned uid/gid for the openshift project
- Date: Wed, 11 Sep 2019 10:55:01 +0000 (UTC)
commit 38a5793cdd8ffff26e168d059f0b8ae36a936d04
Author: Andrea Veri <averi redhat com>
Date: Wed Sep 11 12:53:11 2019 +0200
Use the assigned uid/gid for the openshift project
Dockerfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index a07883ce..ae9302d2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,8 +14,9 @@ RUN INSTALL_PKGS="rh-python36 rh-python36-python-devel rh-python36-python-setupt
RUN sed -ri ' s!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g; s!^(\s*ErrorLog)\s+\S+!\1 /proc/self/fd/2!g;'
/opt/rh/httpd24/root/etc/httpd/conf/httpd.conf && \
sed -ri ' s!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g; s!^(\s*TransferLog)\s+\S+!\1 /proc/self/fd/1!g;
s!^(\s*ErrorLog)\s+\S+!\1 /proc/self/fd/2!g;' /opt/rh/httpd24/root/etc/httpd/conf.d/ssl.conf
-RUN groupadd l10n && useradd l10n -g l10n -r -l && \
- mkdir -p /l10n /l10n/scratchdir && \
+RUN groupadd l10n -g 1000620000 && \
+ useradd l10n -g 1000620000 -u 1000620000 -G apache -r -l && \
+ mkdir -p /l10n && \
git clone --depth 1 --branch master --single-branch
https://gitlab.gnome.org/Infrastructure/damned-lies.git /l10n/damnedlies
ADD localsettings.py /l10n/damnedlies/damnedlies/localsettings.py
RUN chown -R l10n:l10n /l10n
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]