Commit 6557dcf4 authored by Benjamin Rokseth's avatar Benjamin Rokseth
Browse files

Clean up Dockerfile

parent 5d373b3f
......@@ -23,24 +23,11 @@ RUN useradd --groups=sudo,lp,lpadmin --create-home --home-dir=/home/print --shel
COPY --from=builder /app/kohaprinter /usr/lib/cups/backend/
COPY drivers /drivers
COPY config/ /etc/cups/
RUN chown .lp /etc/cups/ppd/*.ppd
# RUN dpkg -i --force-architecture ql720nwlpr-1.0.1-1.i386.deb
# dpkg -i --force-architecture ql720nwcupswrapper-1.0.1-1.i386.deb
# cp /usr/lib/cups/filter/brlpdwrapper* /usr/lib64/cups/filter
# cp /usr/lib/cups/filter/brlpdwrapper* /usr/lib64/cups/filter
# Extra ppds
#COPY ./ppd/* /usr/share/cups/model/
# Configure the service's to be reachable
# RUN /usr/sbin/cupsd &&\
# while [ ! -f /var/run/cups/cupsd.pid ]; do sleep 1; done &&\
# cupsctl --remote-admin --share-printers &&\
# kill $(cat /var/run/cups/cupsd.pid)
# Brother label printer (32bit)
RUN dpkg -i --force-all --force-architecture /drivers/ql720nwpdrv-3.1.5-0.i386.deb && apt-get clean &&\
rm -rf /var/lib/apt/lists/*
# Epson thermal printers
RUN dpkg -i /drivers/pcs-3.17.0.0-1.amd64.deb &&\
dpkg -i /drivers/tmx-cups-backend-1.2.4.0-1.amd64.deb &&\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment