Skip to content

Commit

Permalink
Update netcat dependency in tests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lpsinger committed Sep 11, 2023
1 parent 713f171 commit 68cc0db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/client/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion test/destination/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 /
Expand Down

0 comments on commit 68cc0db

Please sign in to comment.