From 68cc0dbc3a7692577661939d65821a1ad9e5eaea Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Mon, 11 Sep 2023 13:26:51 -0400 Subject: [PATCH] Update netcat dependency in tests In Debian Bullseye, the `netcat` package was a transitional package that depended on `netcat-openbsd`. In Debian Bookworm, it is now a virtual package and you must explicitly install one of the packages that 'provides' it, either `netcat-openbsd` or `netcat-traditional`. Fixes #5. --- test/client/Dockerfile | 2 +- test/destination/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/client/Dockerfile b/test/client/Dockerfile index 72581c3..9ffc147 100644 --- a/test/client/Dockerfile +++ b/test/client/Dockerfile @@ -1,7 +1,7 @@ FROM debian:stable-slim RUN apt-get update && \ - apt-get -y install --no-install-recommends openssh-client netcat && \ + apt-get -y install --no-install-recommends openssh-client netcat-openbsd && \ rm -rf /var/lib/apt/lists/* && \ adduser --system clientuser diff --git a/test/destination/Dockerfile b/test/destination/Dockerfile index 66a035d..412bf78 100644 --- a/test/destination/Dockerfile +++ b/test/destination/Dockerfile @@ -1,7 +1,7 @@ FROM debian:stable-slim RUN apt-get update && \ - apt-get -y install --no-install-recommends netcat && \ + apt-get -y install --no-install-recommends netcat-openbsd && \ rm -rf /var/lib/apt/lists/* COPY entrypoint.sh /