From f34eb4781a5984b1060322aa485795289265487f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 18 Sep 2018 12:48:34 -0500 Subject: [PATCH] Download brother package --- Dockerfile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 97d0be4..534bf36 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,11 @@ -FROM ubuntu:zesty +FROM ubuntu:latest # Add repos -RUN echo 'deb http://us.archive.ubuntu.com/ubuntu/ zesty multiverse' >> /etc/apt/sources.list.d/multiverse.list && \ - echo 'deb-src http://us.archive.ubuntu.com/ubuntu/ zesty multiverse' >> /etc/apt/sources.list.d/multiverse.list && \ - echo 'deb http://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse' >> /etc/apt/sources.list.d/multiverse.list && \ - echo 'deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse' >> /etc/apt/sources.list.d/multiverse.list && \ - echo 'deb http://archive.ubuntu.com/ubuntu/ zesty-security multiverse' >> /etc/apt/sources.list.d/multiverse.list && \ - echo 'deb-src http://archive.ubuntu.com/ubuntu/ zesty-security multiverse' >> /etc/apt/sources.list.d/multiverse.list +RUN echo 'deb [trusted=yes] http://www.openprinting.org/download/printdriver/debian/ lsb3.2 main contrib main-nonfree' >> /etc/apt/sources.list.d/multiverse.list # Install the packages we need. Avahi will be included RUN apt-get update && apt-get install -y \ - brother-lpr-drivers-extra brother-cups-wrapper-extra \ + brother-lpr-drivers-extra brother-cups-wrapper-extra openprinting-ppds-postscript-brother\ cups \ cups-pdf \ inotify-tools \ @@ -27,6 +22,8 @@ VOLUME /services # Add scripts ADD root / RUN chmod +x /root/* + +#Run Script CMD ["/root/run_cups.sh"] # Baked-in config file changes