docker-cups (2025-01-20-a9c48e)

Published 2025-01-20 04:21:19 +00:00 by eric

Installation

docker pull git.ericxliu.me/eric/docker-cups:2025-01-20-a9c48e
sha256:fba42453be69a6ad1335a64e346b95e2dd39f78d5bf464d96345d9d51ecac9e8

About this package

CUPS Printer Server

Image Layers

# debian.sh --arch 'amd64' out/ 'stable' '@1736726400'
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=America/New_York
ENV CUPSADMIN=admin
ENV CUPSPASSWORD=password
LABEL org.opencontainers.image.source=https://github.com/anujdatar/cups-docker
LABEL org.opencontainers.image.description=CUPS Printer Server
LABEL org.opencontainers.image.author=Anuj Datar <anuj.datar@gmail.com>
LABEL org.opencontainers.image.url=https://github.com/anujdatar/cups-docker/blob/main/README.md
LABEL org.opencontainers.image.licenses=MIT
RUN /bin/sh -c apt-get update -qq && apt-get upgrade -qqy && apt-get install -qqy apt-utils usbutils cups cups-filters printer-driver-all printer-driver-cups-pdf printer-driver-foo2zjs foomatic-db-compressed-ppds openprinting-ppds hpijs-ppds hp-ppd hplip avahi-daemon && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
EXPOSE map[631/tcp:{}]
EXPOSE map[5353/udp:{}]
RUN /bin/sh -c sed -i 's/Listen localhost:631/Listen 0.0.0.0:631/' /etc/cups/cupsd.conf && sed -i 's/Browsing Off/Browsing On/' /etc/cups/cupsd.conf && sed -i 's/<Location \/>/<Location \/>\n Allow All/' /etc/cups/cupsd.conf && sed -i 's/<Location \/admin>/<Location \/admin>\n Allow All\n Require user @SYSTEM/' /etc/cups/cupsd.conf && sed -i 's/<Location \/admin\/conf>/<Location \/admin\/conf>\n Allow All/' /etc/cups/cupsd.conf && echo "ServerAlias *" >> /etc/cups/cupsd.conf && echo "DefaultEncryption Never" >> /etc/cups/cupsd.conf # buildkit
RUN /bin/sh -c cp -rp /etc/cups /etc/cups-bak # buildkit
VOLUME [/etc/cups]
COPY entrypoint.sh / # buildkit
RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit
CMD ["/entrypoint.sh"]

Labels

Key Value
org.opencontainers.image.author Anuj Datar <anuj.datar@gmail.com>
org.opencontainers.image.description CUPS Printer Server
org.opencontainers.image.licenses MIT
org.opencontainers.image.source https://github.com/anujdatar/cups-docker
org.opencontainers.image.url https://github.com/anujdatar/cups-docker/blob/main/README.md
Details
Container
2025-01-20 04:21:19 +00:00
1
OCI / Docker
linux/amd64
MIT
183 MiB
Versions (2) View all
latest 2025-01-20
2025-01-20-a9c48e 2025-01-20