Public | Automated Build

Last pushed: a month ago
Dockerfile
FROM phusion/baseimage:latest MAINTAINER Maurice Kaag <mkaag@me.com> ENV HOME /root ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_PRIORITY critical ENV DEBCONF_NOWARNINGS yes # Workaround initramfs-tools running on kernel 'upgrade': <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594189> ENV INITRD No # Workaround initscripts trying to mess with /dev/shm: <https://bugs.launchpad.net/launchpad/+bug/974584> # Used by the `build/ischroot` binary to behave in our custom way, to always say we are in a chroot. ENV FAKE_CHROOT 1 RUN \ dpkg-divert --remove /usr/bin/ischroot \ && dpkg-divert --add --rename --divert /usr/bin/ischroot.original /usr/bin/ischroot ADD build/ischroot /usr/bin/ischroot RUN chmod 755 /usr/bin/ischroot # Configure no init scripts to run on package updates. ADD build/policy-rc.d /usr/sbin/policy-rc.d RUN chmod 755 /usr/sbin/policy-rc.d RUN \ echo 'force-unsafe-io' | tee /etc/dpkg/dpkg.cfg.d/02apt-speedup \ && echo 'DPkg::Post-Invoke {"/bin/rm -f /var/cache/apt/archives/*.deb || true";};' | tee /etc/apt/apt.conf.d/no-cache \ && echo 'Acquire::http {No-Cache=True;};' | tee /etc/apt/apt.conf.d/no-http-cache # Disable SSH RUN rm -rf /etc/service/sshd /etc/my_init.d/00_regen_ssh_host_keys.sh # Ensure UTF-8 RUN locale-gen en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LC_ALL en_US.UTF-8 # Configure TZ ENV TZ Europe/Zurich # Upgrade distrib RUN \ apt-get update -qq \ && apt-get dist-upgrade -qqy # Install basic tools RUN apt-get install -qqy --no-install-recommends \ wget \ curl \ ntp # Cleanup RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Source Repository