fix: Container doesn't stop with signal

This commit is contained in:
Yuxing Deng
2024-07-29 15:32:29 +08:00
parent 1540341550
commit 67923822f5
2 changed files with 4 additions and 6 deletions

View File

@@ -1,7 +1,8 @@
FROM registry.suse.com/bci/bci-minimal:15.6
FROM registry.suse.com/bci/bci-base:15.6
ARG TARGETARCH
ARG TARGETOS
ENV ARCH=${TARGETARCH:-"amd64"} OS=${TARGETOS:-"linux"}
COPY entrypoint.sh /usr/bin/
RUN zypper install -y catatonit
COPY kube-explorer-${OS}-${ARCH} /usr/bin/kube-explorer
ENTRYPOINT ["entrypoint.sh"]
ENTRYPOINT [ "/usr/bin/catatonit", "--" ]
CMD [ "kube-explorer" ]

View File

@@ -1,3 +0,0 @@
#!/bin/sh
kube-explorer "${@}"