[download-web] s/downloads/download
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [download-web] s/downloads/download
- Date: Sun, 13 Oct 2019 09:10:17 +0000 (UTC)
commit e8ca603fbb8bab12739547b14a1261be5761c68a
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Sun Oct 13 11:06:38 2019 +0200
s/downloads/download
Dockerfile | 20 ++++++++++----------
downloads.gnome.org.conf => download.gnome.org.conf | 0
2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 4adf40b..e6175cd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,20 +10,20 @@ RUN sed -ri ' s!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g; s!^(\s*ErrorLog)\s+\
RUN sed -i 's/Listen\ 80/Listen\ 8080/' /etc/httpd/conf/httpd.conf
RUN sed -i '/mod_autoindex.so/d' /etc/httpd/conf.modules.d/00-base.conf
RUN sed -i '/mod_auth_digest.so/d' /etc/httpd/conf.modules.d/00-base.conf
-RUN echo 'PidFile /downloads/httpd.pid' >> /etc/httpd/conf/httpd.conf
+RUN echo 'PidFile /download/httpd.pid' >> /etc/httpd/conf/httpd.conf
-RUN ln -sf /downloads/httpd.conf /etc/httpd/conf.d/downloads.conf
-RUN ln -sf /downloads/mirrorbrain.conf /etc/mirrorbrain.conf
+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 downloads -g 1234 && \
- useradd downloads -g 1234 -u 1234 -G apache -r -l -m && \
- install -d -o downloads -g downloads /downloads/data
+RUN groupadd download -g 1234 && \
+ useradd download -g 1234 -u 1234 -G apache -r -l -m && \
+ install -d -o download -g download /download/data
-ADD downloads.gnome.org.conf /downloads/httpd.conf
-ADD mirrorbrain.conf /downloads/mirrorbrain.conf
-RUn chown -R downloads:downloads /downloads
+ADD download.gnome.org.conf /download/httpd.conf
+ADD mirrorbrain.conf /download/mirrorbrain.conf
+RUn chown -R download:download /download
-USER downloads
+USER download
CMD ["/entrypoint.sh"]
diff --git a/downloads.gnome.org.conf b/download.gnome.org.conf
similarity index 100%
rename from downloads.gnome.org.conf
rename to download.gnome.org.conf
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]