Skip to content

Commit af6c8f7

Browse files
committed
Switch cups to olbat/cupsd (1M+ pulls, weekly updates, no Dockerfile)
Includes printer-driver-all, openprinting-ppds, foomatic-db, hplip and more via Debian packages. Mounts /var/run/dbus as required by the image. Made-with: Cursor
1 parent 1679d7c commit af6c8f7

4 files changed

Lines changed: 18 additions & 72 deletions

File tree

apps/cups/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Image tag to use when building/pulling (default: latest)
1+
# Pin to a specific dated tag for reproducibility, e.g. stable-2026-03-16
22
#IMAGE_VERSION=latest

apps/cups/Dockerfile

Lines changed: 0 additions & 51 deletions
This file was deleted.

apps/cups/README.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
# cups
22

3-
Containerised CUPS print server built from a Debian Bookworm base with a
4-
comprehensive set of print filters and drivers installed:
3+
Containerised CUPS print server using [`olbat/cupsd`](https://hub.docker.com/r/olbat/cupsd)
4+
— 1M+ pulls, updated weekly, Debian-based, amd64 + arm64.
5+
6+
Included packages (from Debian):
57

68
| Package | Purpose |
79
|---|---|
8-
| `cups` + `cups-client` | Core print server and IPP listener |
9-
| `cups-filters` + `cups-browsed` | PDF, PostScript, raster, and text filter chain |
10-
| `ghostscript` | PS/PDF rendering |
11-
| `poppler-utils` | PDF inspection and conversion |
12-
| `qpdf` | PDF linearisation and repair |
13-
| `imagemagick` | Image format conversion (PNG, JPEG, TIFF, …) |
14-
| `libcupsimage2t64` | CUPS raster image library |
15-
| `foomatic-db` + `foomatic-db-engine` + `foomatic-db-compressed-ppds` | Generic printer driver database |
16-
| `printer-driver-gutenprint` | High-quality open-source raster drivers (Epson, Canon, etc.) |
17-
| `hplip` | HP printer drivers |
18-
| `printer-driver-foo2zjs` | Brother / generic PCL drivers |
19-
| `printer-driver-dymo` | Dymo label printers |
20-
| `printer-driver-splix` | Samsung / Xerox SPL-II raster |
21-
| `printer-driver-pxljr` | PostScript-capable PCL drivers |
10+
| `cups` + `cups-client` + `cups-filters` | Core print server, IPP, full filter pipeline |
11+
| `printer-driver-all` | Debian meta-package: gutenprint, splix, foo2zjs, dymo, and dozens more |
12+
| `openprinting-ppds` | OpenPrinting PPD collection |
13+
| `hpijs-ppds` + `hp-ppd` | HP printer PPDs |
14+
| `foomatic-db` | Generic printer driver database |
15+
| `printer-driver-cups-pdf` | Virtual PDF printer |
16+
| `smbclient` | Windows/SMB shared printer support |
17+
18+
Default admin credentials: **`print` / `print`**
2219

2320
## Networks
2421

@@ -54,7 +51,7 @@ cp /path/to/Printer80.ppd apps/cups/ppds/
5451
cp config/cupsd.conf.default config/cupsd.conf
5552
# Edit config/cupsd.conf if you need to restrict or expand access
5653

57-
docker compose up -d --build
54+
docker compose up -d
5855
```
5956

6057
The CUPS web UI is available at `http://cups:631` from other containers on

apps/cups/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
services:
22
cups:
3-
build: .
4-
image: cups:${IMAGE_VERSION:-latest}
3+
image: olbat/cupsd:${IMAGE_VERSION:-latest}
54
container_name: cups
65
hostname: cups
76
restart: unless-stopped
87
volumes:
9-
- ../../lib/cups:/config
8+
- /var/run/dbus:/var/run/dbus
9+
- ../../lib/cups:/var/lib/cups
1010
- ./config/cupsd.conf:/etc/cups/cupsd.conf:ro
1111
- ./ppds:/usr/share/cups/model/custom:ro
1212
# ports:

0 commit comments

Comments
 (0)