Skip to content

Commit

Permalink
Trivial: standardise on netcat-openbsd.
Browse files Browse the repository at this point in the history
Shouldn't matter much but might as well keep this consistent (both with
what we used to install under 22.04 and with what's in
govuk-infrastructure/toolbox).

The OpenBSD implementation lacks `-e` (which is a plus) and is a bit
more modern and actively maintained.

netcat is used in the healthcheck script in the underlying clamav
container:
https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/1.3/debian/scripts/clamdcheck.sh
  • Loading branch information
sengi committed Jun 18, 2024
1 parent bf142f1 commit 09052a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ RUN apt update && apt-get install -y libbz2-1.0 \
libxml2 \
zlib1g \
tzdata \
netcat-traditional && \
netcat-openbsd && \
mkdir -p /var/run/clamav /var/lib/clamav /usr/local/share/clamav && \
chown app:app /var/run/clamav /var/lib/clamav /usr/local/share/clamav

Expand Down

0 comments on commit 09052a5

Please sign in to comment.