Skip to content

Instantly share code, notes, and snippets.

@Servuc
Created February 2, 2023 11:00
Show Gist options
  • Save Servuc/a4fd8efdd4e30c3bb84fafb3e3802025 to your computer and use it in GitHub Desktop.
Save Servuc/a4fd8efdd4e30c3bb84fafb3e3802025 to your computer and use it in GitHub Desktop.

Dockerfile for epson-printer-utility

Usage:

docker build -t epson . docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix --privileged --env="QT_X11_NO_MITSHM=1" --ipc=host --security-opt apparmor=unconfined --net=host -v /run/cups/cups.sock:/run/cups/cups.sock --env CUPS_SERVER=/run/cups/cups.sock epson

# docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix --privileged --env="QT_X11_NO_MITSHM=1" --ipc=host --security-opt apparmor=unconfined --net=host -v /run/cups/cups.sock:/run/cups/cups.sock --env CUPS_SERVER=/run/cups/cups.sock epson
FROM ubuntu:bionic
RUN apt update && apt install -y wget qt4-default lsb libcups2
RUN wget 'https://download3.ebz.epson.net/dsc/f/03/00/14/28/59/566f892e1ca2e35685ff06dfd972b1c66fbed4d5/epson-printer-utility_1.1.1-1lsb3.2_amd64.deb'
RUN dpkg -i epson-printer-utility_1.1.1-1lsb3.2_amd64.deb
CMD service ecbd start && epson-printer-utility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment