[download-web] Set correct uid/gid on
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [download-web] Set correct uid/gid on
- Date: Mon, 11 Nov 2019 11:57:28 +0000 (UTC)
commit 35782e4539f0243e9c4fc2bc7679d0a720abbade
Author: Andrea Veri <averi redhat com>
Date: Mon Nov 11 12:57:32 2019 +0100
Set correct uid/gid on
Dockerfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index e6175cd..032c5b9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,13 +16,13 @@ RUN ln -sf /download/httpd.conf /etc/httpd/conf.d/download.conf
RUN ln -sf /download/mirrorbrain.conf /etc/mirrorbrain.conf
ADD entrypoint.sh /entrypoint.sh
-RUN groupadd download -g 1234 && \
- useradd download -g 1234 -u 1234 -G apache -r -l -m && \
+RUN groupadd download -g 1000550000 && \
+ useradd download -g 1000550000 -u 1000550000 -G apache -r -l -m && \
install -d -o download -g download /download/data
ADD download.gnome.org.conf /download/httpd.conf
ADD mirrorbrain.conf /download/mirrorbrain.conf
-RUn chown -R download:download /download
+RUN chown -R download:download /download
USER download
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]