diff --git a/support-files/kubernetes/images/backend/backend.Dockerfile b/support-files/kubernetes/images/backend/backend.Dockerfile index 3cff0b0f5d..cb1899e390 100644 --- a/support-files/kubernetes/images/backend/backend.Dockerfile +++ b/support-files/kubernetes/images/backend/backend.Dockerfile @@ -7,12 +7,9 @@ ENV BK_JOB_HOME=/data/job/exec COPY ./ /data/job/exec/ RUN ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ echo 'Asia/Shanghai' > /etc/timezone && \ - chmod +x /data/job/exec/startup.sh + chmod +x /data/job/exec/startup.sh \ + chmod +x /data/job/exec/tini -# Add Tini -ENV TINI_VERSION v0.19.0 -ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /data/job/exec/tini -RUN chmod +x /data/job/exec/tini ENV LANG en_US.utf8 ENV LANGUAGE en_US.utf8 diff --git a/support-files/kubernetes/images/backend/tini b/support-files/kubernetes/images/backend/tini new file mode 100755 index 0000000000..86cb766c6b Binary files /dev/null and b/support-files/kubernetes/images/backend/tini differ