From 30c313afbcdda453a90c165b454c93d56fc27ada Mon Sep 17 00:00:00 2001 From: Alex Hill Date: Wed, 31 Jul 2024 02:19:35 +0800 Subject: [PATCH 1/2] Add netbase to docker-stacks-foundation image - fixes #2128 --- images/docker-stacks-foundation/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/images/docker-stacks-foundation/Dockerfile b/images/docker-stacks-foundation/Dockerfile index f6b38c8c08..de86b454fd 100644 --- a/images/docker-stacks-foundation/Dockerfile +++ b/images/docker-stacks-foundation/Dockerfile @@ -30,6 +30,7 @@ RUN apt-get update --yes && \ bzip2 \ ca-certificates \ locales \ + netbase \ sudo \ # - `tini` is installed as a helpful container entrypoint, # that reaps zombie processes and such of the actual executable we want to start From 35d8f27cb7778db928e5a8c66f83a405b0a9ce51 Mon Sep 17 00:00:00 2001 From: Alex Hill Date: Thu, 1 Aug 2024 23:40:27 +0800 Subject: [PATCH 2/2] Add a comment describing netbase --- images/docker-stacks-foundation/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/images/docker-stacks-foundation/Dockerfile b/images/docker-stacks-foundation/Dockerfile index de86b454fd..84d57235e9 100644 --- a/images/docker-stacks-foundation/Dockerfile +++ b/images/docker-stacks-foundation/Dockerfile @@ -30,6 +30,9 @@ RUN apt-get update --yes && \ bzip2 \ ca-certificates \ locales \ + # - `netbase` provides /etc/{protocols,rpc,services}, part of POSIX + # and required by various C functions like getservbyname and getprotobyname + # https://github.com/jupyter/docker-stacks/pull/2129 netbase \ sudo \ # - `tini` is installed as a helpful container entrypoint,