docker-cups-airprint (2025-01-20-5cb5c9)
Published 2025-01-20 06:28:00 +00:00 by eric
Installation
docker pull git.ericxliu.me/eric/docker-cups-airprint:2025-01-20-5cb5c9
sha256:47b13ed0d82f813dae816898b5e900f7c0c5c07b9e26bd7144445d87497f1986
Image Layers
ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=24.04 |
ADD file:bcebbf0fddcba5b864d5d267b68dd23bcfb01275e6ec7bcab69bf8b56af14804 in / |
CMD ["/bin/bash"] |
COPY /rastertokpsl-re/bin/rastertokpsl-re /usr/lib/cups/filter/rastertokpsl # buildkit |
RUN /bin/sh -c mkdir -p /usr/share/cups/model/Kyocera # buildkit |
COPY /rastertokpsl-re/*.ppd /usr/share/cups/model/Kyocera/ # buildkit |
MAINTAINER drpsychick@drsick.net |
ENV DEBIAN_FRONTEND=noninteractive |
RUN /bin/sh -c apt-get update && apt-get -y upgrade # buildkit |
ARG UBUNTU_VERSION |
RUN |1 UBUNTU_VERSION=noble /bin/sh -c apt-get -y install cups-daemon cups-client cups-pdf printer-driver-all openprinting-ppds hpijs-ppds hp-ppd hplip avahi-daemon libnss-mdns whois curl inotify-tools $(if [ "noble" = "$UBUNTU_VERSION" -o "latest" = "$UBUNTU_VERSION" ]; then echo "libpng16-16t64"; else echo "libpng16-16"; fi) python3-cups samba-client cups-tea4cups && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/* && rm -rf /var/tmp/* # buildkit |
COPY airprint/ /opt/airprint/ # buildkit |
COPY healthcheck.sh / # buildkit |
COPY start-cups.sh /root/ # buildkit |
COPY pre-init-script.sh /root/ # buildkit |
RUN |1 UBUNTU_VERSION=noble /bin/sh -c chmod +x /healthcheck.sh /root/start-cups.sh /root/pre-init-script.sh # buildkit |
HEALTHCHECK &{["CMD-SHELL" "/healthcheck.sh"] "10s" "3s" "0s" '\x00'} |
ENV TZ=GMT CUPS_ADMIN_USER=admin CUPS_ADMIN_PASSWORD=secr3t CUPS_WEBINTERFACE=yes CUPS_SHARE_PRINTERS=yes CUPS_REMOTE_ADMIN=yes CUPS_ENV_DEBUG=no CUPS_IP= CUPS_ACCESS_LOGLEVEL=config CUPS_LPADMIN_PRINTER1= |
ENTRYPOINT ["/root/start-cups.sh"] |
Labels
Key | Value |
---|---|
org.opencontainers.image.ref.name | ubuntu |
org.opencontainers.image.version | 24.04 |
Details
2025-01-20 06:28:00 +00:00
Versions (2)
View all
Container
0
OCI / Docker
linux/amd64
228 MiB
latest
2025-01-20
2025-01-20-5cb5c9
2025-01-20