Skip to content

kubernetes-entrypoint: Short-cut echo/true without exec#3

Open
fwiesel wants to merge 1 commit intoairshipit:masterfrom
fwiesel:echo-true-shortcut
Open

kubernetes-entrypoint: Short-cut echo/true without exec#3
fwiesel wants to merge 1 commit intoairshipit:masterfrom
fwiesel:echo-true-shortcut

Conversation

@fwiesel
Copy link

@fwiesel fwiesel commented Aug 27, 2024

echo or true without further arguments are often used to silence the warning about an empty COMMAND environment variable. Either command can pull in various dependency in the OS as exemplified by f3ccc07

By avoiding the call one use docker images without coreutils (and dependencies) without having to change the calling site.

Change-Id: Ibbb620129048f95f9cfdad9e4ba381c89d31da26

echo or true without further arguments are often used to silence the
warning about an empty COMMAND environment variable. Either command can
pull in various dependency in the OS as exemplified by
f3ccc07

By avoiding the call one use docker images without coreutils (and
dependencies) without having to change the calling site.

Change-Id: Ibbb620129048f95f9cfdad9e4ba381c89d31da26
Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
@fwiesel
Copy link
Author

fwiesel commented Aug 28, 2024

Closed in favor of review.opendev.org PR.

@fwiesel fwiesel closed this Aug 28, 2024
@fwiesel fwiesel reopened this Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant