FROM debian:stable CMD [ "/sbin/init" ] # We can't use timedatectl because systemd isn't available # during the build process, so we have to set it manually ENV TZ=US/Central RUN rm /etc/localtime && \ ln -s /usr/share/zoneinfo/$TZ /etc/localtime && \ echo $TZ > /etc/timezone # Install packages RUN apt update -y RUN apt upgrade -y RUN apt install -y systemd sudo wget nano less RUN apt autoremove -y --purge RUN apt clean -y