Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digibib
kohaprinter
Commits
6557dcf4
Commit
6557dcf4
authored
Jan 24, 2020
by
Benjamin Rokseth
Browse files
Clean up Dockerfile
parent
5d373b3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
6557dcf4
...
...
@@ -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
&&
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment