summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 6 insertions, 2 deletions
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" ]