From 5216844263e79cc70b51e994967a5c116da90ba6 Mon Sep 17 00:00:00 2001 From: Steven Kreitzer Date: Sun, 29 Dec 2024 10:41:01 -0700 Subject: [PATCH] fix: dockerfile change cmd to entrypoint --- images/Dockerfile | 3 ++- images/Dockerfile.debug | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/images/Dockerfile b/images/Dockerfile index edecd0ca7..4da7a5dea 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -18,4 +18,5 @@ COPY --from=build /usr/src/multus-cni/bin/install_multus / COPY --from=build /usr/src/multus-cni/bin/thin_entrypoint / COPY --from=build /usr/src/multus-cni/bin/kubeconfig_generator / COPY --from=build /usr/src/multus-cni/bin/cert-approver / -CMD ["/thin_entrypoint"] + +ENTRYPOINT ["/thin_entrypoint"] diff --git a/images/Dockerfile.debug b/images/Dockerfile.debug index f31a5bb40..4c027faa3 100644 --- a/images/Dockerfile.debug +++ b/images/Dockerfile.debug @@ -18,4 +18,5 @@ COPY --from=build /usr/src/multus-cni/bin/install_multus / COPY --from=build /usr/src/multus-cni/bin/thin_entrypoint / COPY --from=build /usr/src/multus-cni/bin/kubeconfig_generator / COPY --from=build /usr/src/multus-cni/bin/cert-approver / -CMD ["/thin_entrypoint"] + +ENTRYPOINT ["/thin_entrypoint"]