Skip to content
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

Merged
merged 3 commits into from
Mar 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,13 @@ The result should be a new PR on the Pongo repo.

---

## 2.5.0 unreleased
## 2.5.x unreleased

* Fix: Add missing `fuser` and `netstat` utility that is required for certain test functions.

---

## 2.5.0 released 7-Feb-2023

* Fix: Apple recently started shipping `realpath` in their OS. But it doesn't support the
`--version` flag, so it was not detected as installed
Expand Down
5 changes: 4 additions & 1 deletion assets/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ USER root
# But that means hardcoding and that doesn't play well with the nature of Pongo
# that should be independent of Kong versions.

# psmisc: provides `fuser`
# net-tools: provides `netstat`

RUN apt update \
&& apt install -y zip make jq m4 curl build-essential wget git libssl-dev zlib1g-dev lsb-release
&& apt install -y zip make jq m4 curl build-essential wget git libssl-dev zlib1g-dev lsb-release psmisc net-tools
RUN /pongo/install-python.sh
RUN pip3 install httpie
RUN curl -k -s -S -L https://github.com/fullstorydev/grpcurl/releases/download/v1.7.0/grpcurl_1.7.0_linux_x86_64.tar.gz | tar xz -C /kong/bin
Expand Down