blob: e8931d25a7a9a14c9605b4e10c3b89595be1159a [file] [log] [blame]
FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
ENV PKG_DEPS="\
ca-certificates \
curl \
git \
iproute2 \
nmap \
openssh-client \
unzip \
xmlstarlet \
xz-utils \
"
RUN set -e ;\
echo 'dash dash/sh boolean false' | debconf-set-selections ;\
apt update -q=2 ;\
apt full-upgrade -q=2 --yes ;\
apt install -q=2 --yes --no-install-recommends ${PKG_DEPS} ;\
# Set default shell to bash
dpkg-reconfigure -p critical dash ;\
# Cleanup
apt clean ;\
rm -rf /var/lib/apt/lists/* /tmp/*