cupsd-docker/Dockerfile
Markus Pesch dae9b5b459
Some checks failed
continuous-integration/drone/push Build is failing
fix(Dockerfile): use FQIN
2025-03-31 17:05:04 +02:00

34 lines
762 B
Docker

# Base-Image
FROM docker.io/library/ubuntu:18.04
# Environment
ENV CUPS_ADMIN_USER=print
ENV CUPS_ADMIN_PASSWD=print
ENV DEBIAN_FRONTEND="noninteractive"
# Software installation
RUN apt-get update && \
apt-get upgrade --yes && \
apt-get install --yes \
sudo \
cups \
cups-client \
cups-bsd \
cups-filters \
foomatic-db-compressed-ppds \
printer-driver-all \
openprinting-ppds \
hpijs-ppds \
hp-ppd \
hplip && \
rm -rf /var/lib/apt/lists/*
COPY install-scripts /tmp/install-scripts
RUN for i in /tmp/install-scripts/*; do sh $i; done
# https://www.cups.org/doc/firewalls.html
EXPOSE 631
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh"]