ADD file:5fb15e28ab9cd52a4c1371f9273d159579710f4efb955c1e6d76c0403e36967c in / |
CMD ["bash"] |
ARG VCS_REF |
ARG BUILD_DATE |
ENV ADMIN_PASSWORD=admin |
ENV ADMIN_USERNAME=admin |
LABEL maintainer=Sthope <hopelessautomations@gmail.com> org.label-schema.schema-version=1.0 org.label-schema.name=sthopeless/cups org.label-schema.description=Simple CUPS docker image org.label-schema.version=0.1 org.label-schema.url=https://hub.docker.com/r/sthopeless/cups org.label-schema.vcs-url=https://git.sthope.dev/sthope/Docker-cups org.label-schema.vcs-ref= org.label-schema.build-date= |
/bin/sh -c apt-get update && apt-get install -y sudo cups cups-bsd cups-filters foomatic-db-compressed-ppds printer-driver-all openprinting-ppds hpijs-ppds hp-ppd hplip wget && apt-get clean && rm -rf /var/lib/apt/lists/* |
/bin/sh -c adduser --home /home/admin --shell /bin/bash --gecos "admin" --disabled-password admin && adduser admin sudo && adduser admin lp && adduser admin lpadmin |
/bin/sh -c echo 'admin ALL=(ALL:ALL) ALL' >> /etc/sudoers |
/bin/sh -c /usr/sbin/cupsd && while [ ! -f /var/run/cups/cupsd.pid ]; do sleep 1; done && cupsctl --remote-admin --remote-any --share-printers && kill $(cat /var/run/cups/cupsd.pid) && echo "ServerAlias *" >> /etc/cups/cupsd.conf |
/bin/sh -c cp -rp /etc/cups /etc/cups-skel |
ADD file:4bf0f2d09748c78a342f88febc789b3dd4ca6a3ff98bcda76bbf637cd36317cc in /usr/local/bin/docker-entrypoint.sh |
ENTRYPOINT ["docker-entrypoint.sh"] |
CMD ["cupsd" "-f"] |
VOLUME [/etc/cups] |
EXPOSE 631 |
LABEL org.opencontainers.image.created=2023-11-12T23:00:35Z |
LABEL org.opencontainers.image.revision=2fc9752983a0a1efc763e26426ecf8e3fc49cd98 |
LABEL org.opencontainers.image.source=https://git.sthope.dev/sthope/Docker-cups.git |
LABEL org.opencontainers.image.url=https://git.sthope.dev/sthope/Docker-cups |