From 9afb5dca0efb9d5b0e394ee8d7fe6dfc048a8bea Mon Sep 17 00:00:00 2001
From: "Suren A. Chilingaryan" <csa@suren.me>
Date: Wed, 28 Feb 2018 05:35:33 +0100
Subject: Create /home/csa and register uid

---
 Dockerfile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'Dockerfile')

diff --git a/Dockerfile b/Dockerfile
index fd6da46..01fc4f4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -18,10 +18,14 @@ RUN yum -y install \
            kubernetes-client \
            && yum clean all
 
-
-
 COPY sx.sh /bin/sx
 RUN chmod 775 /bin/sx
 
+# For ugly applications which want to resolve user name
+RUN chmod g=u /etc/passwd
+
+COPY docker-entrypoint.sh /
+ENTRYPOINT ["/docker-entrypoint.sh"]
+
 CMD [ "/bin/sx" ]
 
-- 
cgit v1.2.3