Unipager Docker

Dockerfile :


# derive from our baseimage FROM resin/rpi-raspbian:stretch MAINTAINER Albert Einstein (PD2EMC) RUN echo “Set Timezone to Amsterdam…” \ && ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime \ && echo “Updating and installing main packages…” \ && apt-get update \ && apt-get install -y apt-utils \ && apt-get install -y alsa-utils bash wget mc \ && apt-get upgrade -y \ && apt-get clean \ && apt-get autoremove -y WORKDIR /tmp RUN echo “Starting UniPager Installation…” \ && echo “Add repo to source.list…” \ && sh -c “echo ‘deb http://www.afu.rwth-aachen.de/debian unipager main’ > /etc/a pt/sources.list.d/unipager.list” \ && sh -c “echo ‘deb-src http://www.afu.rwth-aachen.de/debian unipager main’ >> / etc/apt/sources.list.d/unipager.list” \ && echo “Get keyfile…” \ && wget http://www.afu.rwth-aachen.de/debian/rwth-afu.key > /dev/null 2>&1 \ && echo “Add keyfile to keyring…” \ && apt-key add rwth-afu.key > /dev/null 2>&1 \ && echo “Remove keyfile…” \ && rm rwth-afu.key \ && echo “Updating packages…” \ && apt-get update \ && echo “Installing UniPager…” \ && apt-get install unipager \ && echo “Adding passw0rd to UniPager…” \ && sh -c “echo ‘passw0rd’ >> /var/lib/unipager/password” \ && echo “UniPager installation completed.” WORKDIR /var/lib/unipager ENTRYPOINT [“unipager”]