[guadec-web/oscp-2018] Make sure 1001 gets actually created and passed /guadec-web as home dir
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web/oscp-2018] Make sure 1001 gets actually created and passed /guadec-web as home dir
- Date: Fri, 28 Sep 2018 12:21:59 +0000 (UTC)
commit ff5579b9873eb3fbd19881f9cdb7219710683b21
Author: Andrea Veri <averi redhat com>
Date: Fri Sep 28 14:21:52 2018 +0200
Make sure 1001 gets actually created and passed /guadec-web as home dir
Dockerfile | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/Dockerfile b/Dockerfile
index e9e9a9e..ba20cf5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,6 +14,11 @@ WORKDIR /guadec-web
COPY entrypoint.sh /
+ENV GUADEC_HOME=/guadec-web \
+ LANG=C
+
+RUN useradd -u 1001 -g 0 -d ${SUPYBOT_HOME}/ -m -r -s /usr/sbin/nologin guadecweb && \
+
USER 1001
EXPOSE 8080
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]