From 6ed34af77aa40408faf079d0ec6cd790d430750a Mon Sep 17 00:00:00 2001 From: Alex Hill Date: Mon, 5 Aug 2024 03:11:50 +0800 Subject: [PATCH] Add netbase to docker-stacks-foundation image - fixes #2128 (#2129) * Add netbase to docker-stacks-foundation image - fixes #2128 * Add a comment describing netbase --- images/docker-stacks-foundation/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/images/docker-stacks-foundation/Dockerfile b/images/docker-stacks-foundation/Dockerfile index f6b38c8c08..84d57235e9 100644 --- a/images/docker-stacks-foundation/Dockerfile +++ b/images/docker-stacks-foundation/Dockerfile @@ -30,6 +30,10 @@ 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, # that reaps zombie processes and such of the actual executable we want to start