configure 287 Bytes
#!/bin/sh

set -e

apt-get update
apt-get install -y bsd-mailx postfix rsyslog

cp /tmp/files/rsyslog-stderr.conf /etc/rsyslog.d
cp /tmp/files/entrypoint /sbin/entrypoint

addgroup hostgroup
adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser

rm -rf /tmp/files