2025-04-11 16:39:15 UTC
248 MB
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc - 1.39% (3.46 MB)
[#001] sha256:fd0352c9198f544c3a52d6fb283f69b7b6ac0549c332b3127a19921b26a06805 - 83.86% (208 MB)
[#002] sha256:16a8b43c61cdcb80176e7866a7874921403f30f887d87a83f5d863b8400e5b63 - 10.53% (26.1 MB)
[#003] sha256:fcd79ae348ec5a3dc5bd060ab402ae57c1677d96266e92463812356e12701976 - 4.21% (10.4 MB)
[#004] sha256:095c1b6b6a74a60543e51050116d80a6de6491885b30cbc752fca5cccf7d4ad1 - 0.0% (4.34 KB)
[#005] sha256:d00be7634df41211ad5c1995d6f75ae207eccb3e08c657bf1ac18feabf4e8983 - 0.0% (4.43 KB)
[#006] sha256:9dcfd166b90ecd6e3abb2077f47b784f748657f9371ff6b49be45ddd385af3c9 - 0.0% (2.39 KB)
ADD alpine-minirootfs-3.20.6-x86_64.tar.gz / # buildkit
2025-02-14 03:00:07 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-04-11 16:37:53 UTC/bin/sh -c echo -e "https://dl-cdn.alpinelinux.org/alpine/edge/testing\nhttps://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && apk add --update cups cups-libs cups-pdf cups-client cups-filters cups-dev ghostscript hplip avahi inotify-tools python3 python3-dev build-base wget rsync py3-pycups && rm -rf /var/cache/apk/*
2025-04-11 16:38:13 UTC/bin/sh -c apk add --no-cache git cmake && git clone https://github.com/pdewacht/brlaser.git && cd brlaser && cmake . && make && make install && cd .. && rm -rf brlaser
2025-04-11 16:39:13 UTC/bin/sh -c wget -O gutenprint-5.3.5.tar.xz https://sourceforge.net/projects/gimp-print/files/gutenprint-5.3/5.3.5/gutenprint-5.3.5.tar.xz/download && tar -xJf gutenprint-5.3.5.tar.xz && cd gutenprint-5.3.5 && find src/testpattern -type f -exec sed -i 's/\bPAGESIZE\b/GPT_PAGESIZE/g' {} + && ./configure && make -j$(nproc) && make install && cd .. && rm -rf gutenprint-5.3.5 gutenprint-5.3.5.tar.xz
2025-04-11 16:39:14 UTC/bin/sh -c #(nop) EXPOSE 631
2025-04-11 16:39:14 UTC/bin/sh -c #(nop) VOLUME [/config]
2025-04-11 16:39:14 UTC/bin/sh -c #(nop) VOLUME [/services]
2025-04-11 16:39:14 UTC/bin/sh -c #(nop) ADD dir:dc182872b33d1cb44248d0f419dea011825b66529c2d39955a81634d3c972509 in /
2025-04-11 16:39:15 UTC/bin/sh -c chmod +x /root/*
2025-04-11 16:39:15 UTC/bin/sh -c #(nop) CMD ["/root/run_cups.sh"]
2025-04-11 16:39:15 UTC/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/IdleExitTimeout/#IdleExitTimeout/' /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 && sed -i 's/.*enable\-dbus=.*/enable\-dbus\=no/' /etc/avahi/avahi-daemon.conf && echo "ServerAlias *" >> /etc/cups/cupsd.conf && echo "DefaultEncryption Never" >> /etc/cups/cupsd.conf && echo "ReadyPaperSizes A4,TA4,4X6FULL,T4X6FULL,2L,T2L,A6,A5,B5,L,TL,INDEX5,8x10,T8x10,4X7,T4X7,Postcard,TPostcard,ENV10,EnvDL,ENVC6,Letter,Legal" >> /etc/cups/cupsd.conf && echo "DefaultPaperSize Letter" >> /etc/cups/cupsd.conf && echo "pdftops-renderer ghostscript" >> /etc/cups/cupsd.conf
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.