Renovator Bot
fd53a5cf06
All checks were successful
ci/woodpecker/pr/build-package Pipeline was successful
ci/woodpecker/pr/build-container Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
FROM docker.io/alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a
|
|
|
|
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
|
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
|
LABEL org.opencontainers.image.title="cups"
|
|
LABEL org.opencontainers.image.url="https://gitea.rknet.org/container/cups"
|
|
LABEL org.opencontainers.image.source="https://gitea.rknet.org/container/cups"
|
|
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/container/cups"
|
|
|
|
ARG TARGETOS
|
|
ARG TARGETARCH
|
|
ARG TARGETVARIANT
|
|
|
|
# renovate: datasource=repology depName=alpine_edge/cups versioning=loose
|
|
ENV CUPS_VERSION=2.4.11-r0
|
|
# renovate: datasource=repology depName=alpine_edge/cups-filters versioning=loose
|
|
ENV CUPS_FILTERS_VERSION=1.28.17-r6
|
|
|
|
RUN apk --update --no-cache add libcap && \
|
|
apk --update --no-cache add cups cups-filters --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main && \
|
|
mkdir -p /run/cups /cups/conf /cups/cache /cups/data /cups/spool/tmp && \
|
|
cp /etc/cups/*.conf /cups/conf && \
|
|
cp -r /usr/share/cups/. /cups/data && \
|
|
setcap 'cap_net_bind_service=+ep' /usr/sbin/cupsd && \
|
|
rm -rf /var/cache/apk/* && \
|
|
rm -rf /tmp/*
|
|
|
|
ADD overlay/ /
|
|
|
|
RUN chown -R lp:lpadmin /run/cups && \
|
|
chown -R root:lp /cups/conf /cups/cache /cups/spool
|
|
|
|
EXPOSE 631
|
|
|
|
STOPSIGNAL SIGTERM
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint"]
|
|
CMD []
|