2025-05-18 19:55:08 UTC
251 MB
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:94e9d8af22013aabf0edcaf42950c88b0a1350c3a9ce076d61b98a535a673dd9 - 1.55% (3.9 MB)
[#001] sha256:3bf7c2a164649a214a72731d2e414c815d04494c7e67fb79363e9e034489c45d - 84.71% (213 MB)
[#002] sha256:3988e6679cbd9515c21074d7b14e532d375dd3a4a3f8878a3bf889a870103e2f - 9.58% (24.1 MB)
[#003] sha256:b353a21759716968e6ec28176a268bc3ab8c5397af7de9d5e088c6df2db71ee3 - 4.16% (10.5 MB)
[#004] sha256:66bb5a92277a8225e6d538a7096107dde57d7b3da8d4be937bac80c01fc09d7c - 0.0% (5.58 KB)
[#005] sha256:3137df6008a49d9b7281213e1207ece6bc2133f4931d37aa56a5a9d380bac837 - 0.0% (5.67 KB)
[#006] sha256:60cbd41dfb91437bf618942e7655a2f51318d0898ba491dd8d6a22695bd8b703 - 0.0% (2.39 KB)
ADD alpine-minirootfs-3.20.6-aarch64.tar.gz / # buildkit
2025-02-14 03:00:07 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2025-05-18 19:54:00 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 perl && rm -rf /var/cache/apk/*
2025-05-18 19:54:20 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-05-18 19:55:05 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 && sed -i '1s|.*|#!/usr/bin/perl|' /usr/sbin/cups-genppdupdate
2025-05-18 19:55:06 UTC/bin/sh -c #(nop) EXPOSE 631
2025-05-18 19:55:06 UTC/bin/sh -c #(nop) VOLUME [/config]
2025-05-18 19:55:06 UTC/bin/sh -c #(nop) VOLUME [/services]
2025-05-18 19:55:06 UTC/bin/sh -c #(nop) ADD dir:0b897629013ded710d4f628ee38dda2e0f5469cbb60ebd543acbb6f65d069804 in /
2025-05-18 19:55:07 UTC/bin/sh -c chmod +x /root/*
2025-05-18 19:55:07 UTC/bin/sh -c #(nop) CMD ["/root/run_cups.sh"]
2025-05-18 19:55:08 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.