From d62b900d9115b4c09d0678a4f67074fa9d83a31c Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Thu, 14 Nov 2019 11:57:39 +0800 Subject: [PATCH] Fix https://github.com/webkubectl/webkubectl/issues/2 --- README.md | 2 +- README.zh_CN.md | 2 +- init-kubectl.sh | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7cdde6d..66c5c62 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ![License](https://img.shields.io/badge/License-Apache%202.0-red) ![Dockerized](https://img.shields.io/badge/Dockerized-yes-brightgreen) -![Version](https://img.shields.io/badge/Version-v1.4-yellow) +![Version](https://img.shields.io/badge/Version-v1.5-yellow) [![Docker Pulls](https://img.shields.io/docker/pulls/webkubectl/webkubectl.svg)](https://hub.docker.com/r/webkubectl/webkubectl) ![HitCount](http://hits.dwyl.io/webkubectl/webkubectl.svg) diff --git a/README.zh_CN.md b/README.zh_CN.md index 3223d72..88821fb 100644 --- a/README.zh_CN.md +++ b/README.zh_CN.md @@ -4,7 +4,7 @@ ![License](https://img.shields.io/badge/License-Apache%202.0-red) ![Dockerized](https://img.shields.io/badge/Dockerized-yes-brightgreen) -![Version](https://img.shields.io/badge/Version-v1.4-yellow) +![Version](https://img.shields.io/badge/Version-v1.5-yellow) [![Docker Pulls](https://img.shields.io/docker/pulls/webkubectl/webkubectl.svg)](https://hub.docker.com/r/webkubectl/webkubectl) ![HitCount](http://hits.dwyl.io/webkubectl/webkubectl.svg) diff --git a/init-kubectl.sh b/init-kubectl.sh index dbfd27b..804c286 100644 --- a/init-kubectl.sh +++ b/init-kubectl.sh @@ -26,4 +26,6 @@ if [ "${WELCOME_BANNER}" ]; then echo ${WELCOME_BANNER} fi +export TMPDIR=/nonexistent + exec su -s /bin/bash nobody \ No newline at end of file