1FROM debian:testing 2 3COPY .github/packages.txt / 4 5COPY .github/extra-files.txt / 6 7RUN apt-get update && \ 8 apt-get install -y wget gnupg && \ 9 wget -O /etc/apt/trusted.gpg.d/altusmetrum.gpg https://maps.altusmetrum.org/archive/archive-key.gpg && \ 10 echo "deb http://maps.altusmetrum.org/archive unstable/" > /etc/apt/sources.list.d/keithp.list && \ 11 (apt-get update || apt-get update || apt-get update) && \ 12 (apt-get upgrade -y || apt-get upgrade -y || apt-get upgrade -y) && \ 13 (xargs -a packages.txt apt-get install -y || \ 14 xargs -a packages.txt apt-get install -y || \ 15 xargs -a packages.txt apt-get install -y || \ 16 xargs -a packages.txt apt-get install -y) && \ 17 mkdir -p /opt && \ 18 (cd /opt && while read file; do wget $file || exit 1; tar xf `basename $file`; done) < extra-files.txt 19 20RUN apt-get clean 21