[blogs-web/oscp] Run httpd as the user with uid 1001
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blogs-web/oscp] Run httpd as the user with uid 1001
- Date: Sat, 10 Nov 2018 21:57:33 +0000 (UTC)
commit 9b5c482c18abc55be49c198456ec45ef5f075290
Author: Andrea Veri <averi redhat com>
Date: Sat Nov 10 22:57:20 2018 +0100
Run httpd as the user with uid 1001
Dockerfile | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/Dockerfile b/Dockerfile
index bf57c0d..083ece4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,6 +11,8 @@ RUN chown 1001:1001 -R /srv/http/blogs.gnome.org/html
COPY blogs.gnome.org.conf /etc/httpd/conf.d
RUN rm /etc/httpd/conf.d/welcome.conf
+RUN sed -i '/generate_container_user/d' /usr/bin/run-httpd
+
EXPOSE 8443
USER 1001
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]