mirror of
https://github.com/nikdoof/cups-avahi-airprint.git
synced 2025-12-11 22:52:21 +00:00
Download brother package
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -1,16 +1,11 @@
|
|||||||
FROM ubuntu:zesty
|
FROM ubuntu:latest
|
||||||
|
|
||||||
# Add repos
|
# Add repos
|
||||||
RUN echo 'deb http://us.archive.ubuntu.com/ubuntu/ zesty 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
|
||||||
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
|
|
||||||
|
|
||||||
# Install the packages we need. Avahi will be included
|
# Install the packages we need. Avahi will be included
|
||||||
RUN apt-get update && apt-get install -y \
|
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 \
|
||||||
cups-pdf \
|
cups-pdf \
|
||||||
inotify-tools \
|
inotify-tools \
|
||||||
@@ -27,6 +22,8 @@ VOLUME /services
|
|||||||
# Add scripts
|
# Add scripts
|
||||||
ADD root /
|
ADD root /
|
||||||
RUN chmod +x /root/*
|
RUN chmod +x /root/*
|
||||||
|
|
||||||
|
#Run Script
|
||||||
CMD ["/root/run_cups.sh"]
|
CMD ["/root/run_cups.sh"]
|
||||||
|
|
||||||
# Baked-in config file changes
|
# Baked-in config file changes
|
||||||
|
|||||||
Reference in New Issue
Block a user