1FROM ubuntu:17.04 2MAINTAINER Marco Poletti <poletti.marco@gmail.com> 3 4COPY ubuntu-17.04_custom.list /etc/apt/sources.list.d/ 5COPY common_install.sh common_cleanup.sh ubuntu-17.04_install.sh / 6 7RUN sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list; \ 8 bash -x /common_install.sh && \ 9 bash -x /ubuntu-17.04_install.sh && \ 10 bash -x /common_cleanup.sh 11