# Auto generated from tcwg-base/Dockerfile.in. Do not edit. FROM ubuntu:bionic RUN true \ && apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y \ && DEBIAN_FRONTEND=noninteractive apt-get install -y devscripts \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ alien \ autoconf \ autogen \ automake \ bc \ bind9-host \ bison \ bsd-mailx \ build-essential \ byacc \ ccache \ ccrypt \ chrpath \ clang \ cmake \ debhelper \ dejagnu \ dh-autoreconf \ dh-translations \ distro-info-data \ emacs \ fakeroot \ flex \ gawk \ gdb \ gdbserver \ git \ git-review \ groff \ less \ libexpat1-dev \ liblzma-dev \ libncurses5-dev \ libpython2.7-dev \ libreadline-dev \ libssl-dev \ libtcnative-1 \ libtool \ linux-tools-generic \ lzop \ make \ net-tools \ netcat \ nfs-kernel-server \ ninja-build \ openjdk-8-jdk \ openssh-server \ python-dev \ postfix \ psmisc \ pxz \ qemu-system-arm \ qemu-user \ rsync \ subversion \ sudo \ tclsh \ texinfo \ texlive-fonts-recommended \ texlive-latex-recommended \ time \ valgrind \ vim \ virtualenv \ wget \ xz-utils \ zip \ zlib1g-dev \ && apt-get clean \ && rm -rf \ /var/lib/apt/lists/* \ /tmp/* \ /var/tmp/* # Ubuntu Bionic has a quirk in installing contrib files of git; skip for now. RUN true \ && sed -i -e 's:^session *required *pam_loginuid.so:# session required pam_loginuid.so:' /etc/pam.d/sshd \ && mkdir -p /var/run/sshd \ && sed -i \ -e "/.*MaxStartups.*/d" \ -e "/.*MaxSessions.*/d" /etc/ssh/sshd_config \ && echo "MaxStartups 256" >> /etc/ssh/sshd_config \ && echo "MaxSessions 256" >> /etc/ssh/sshd_config COPY postfix-main.cf.in /etc/postfix/main.cf COPY postfix-sasl_password.in /etc/postfix/sasl_password RUN chown root:root /etc/postfix/sasl_password \ && chmod 600 /etc/postfix/sasl_password # QEMU 2.8 doesn't build cleanly with Ubuntu Bionic's gcc. COPY home-data/ /home-data/ COPY new-user.sh /usr/local/bin/ RUN \ while read line; do \ new-user.sh --group $(echo "$line" | cut -d: -f 1,3); \ done