blob: e8931d25a7a9a14c9605b4e10c3b89595be1159a [file] [log] [blame]
Leonardo Sandoval918c89e2021-04-23 13:37:44 -05001FROM ubuntu:focal
2
3ENV DEBIAN_FRONTEND=noninteractive
4ENV PKG_DEPS="\
5 ca-certificates \
6 curl \
7 git \
8 iproute2 \
9 nmap \
10 openssh-client \
11 unzip \
12 xmlstarlet \
13 xz-utils \
14"
15
16RUN set -e ;\
17 echo 'dash dash/sh boolean false' | debconf-set-selections ;\
18 apt update -q=2 ;\
19 apt full-upgrade -q=2 --yes ;\
20 apt install -q=2 --yes --no-install-recommends ${PKG_DEPS} ;\
21 # Set default shell to bash
22 dpkg-reconfigure -p critical dash ;\
23 # Cleanup
24 apt clean ;\
25 rm -rf /var/lib/apt/lists/* /tmp/*
Riku Voipio03ffb3c2021-09-30 19:20:22 +030026