1FROM debian:testing 2 3COPY .github/linux-packages.txt / 4 5COPY .github/linux-files.txt / 6 7RUN apt-get update && \ 8 apt-get install -y --no-install-recommends ca-certificates 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 linux-packages.txt apt-get install -y --no-install-recommends || \ 14 xargs -a linux-packages.txt apt-get install -y --no-install-recommends || \ 15 xargs -a linux-packages.txt apt-get install -y --no-install-recommends || \ 16 xargs -a linux-packages.txt apt-get install -y --no-install-recommends) && \ 17 mkdir -p /opt && \ 18 (cd /opt && while read file; do wget $file || exit 1; tar xf `basename $file`; rm `basename $file`; done) < linux-files.txt && \ 19 apt-get clean && \ 20 rm -rf /var/lib/apt/lists/* 21 22