-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(image): install psmisc and net-tools to provide fuser
and netstat
#384
Conversation
This cannot be right. The Pongo image is created from an official Kong image. So if those tools are not in the Pongo image, then they are also not in the official image. So I guess the official image needs to be fixed here? |
@Tieske yes they are not in the official image at the beginning:
It's not an issue before because on CI we are not running core tests in a container, and host system have those tools installed; and plus no EE plugins were using the two spec.helper functions that requires the tool utils before. And we don't want to install a tool that's not a run-time dependency into kong official docker image, for both run-time security and vulnerability scanning reasons. |
ok, so I was misunderstanding it seems. The dependencies on those tools;
So which one is it then? |
@Tieske It's from generic helper functions in They are not runtime dependency for either core, opentelemtry plugin or the new datadog-tracing plugin (coming in EE 3.2, which requires them in tests). |
ok, then the only thing missing seems to be a changelog entry |
changelog added! |
e0b520a
to
c984253
Compare
fuser
and netstat
fuser
and netstat
fuser
as added as a depenndecy in 3.0.0.0 to test opentelemetry plugin,but as that's a CE plugin, it wasn't using pongo to test before. In 3.2.x.x, a
new EE plugin starts to use the same helper function that calls
fuser
(and also
netstat
) and result in acommand not found
in pongo test.