mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-09-25 14:49:12 +00:00
fix: Container doesn't stop with signal
This commit is contained in:
@@ -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 TARGETARCH
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
ENV ARCH=${TARGETARCH:-"amd64"} OS=${TARGETOS:-"linux"}
|
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
|
COPY kube-explorer-${OS}-${ARCH} /usr/bin/kube-explorer
|
||||||
ENTRYPOINT ["entrypoint.sh"]
|
ENTRYPOINT [ "/usr/bin/catatonit", "--" ]
|
||||||
|
CMD [ "kube-explorer" ]
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
kube-explorer "${@}"
|
|
Reference in New Issue
Block a user