Sign inSign up

eilandert/reprepro

By eilandert

•Updated about 16 hours ago

reprepro on ubuntu

Image
4

50K+

eilandert/reprepro repository overview

⁠reprepro — hardened APT repository builder Docker image (Ubuntu)

eilandert/reprepro is a security-hardened Docker image of reprepro, the lightweight tool for producing and maintaining a signed Debian/Ubuntu APT repository from a local pool of .deb files. It complements the aptly image in this stack: where aptly excels at snapshots and mirroring, reprepro is the simple, deterministic choice for a single signed repository you feed by hand or from CI.

It powers part of the deb.myguard.nl⁠ publishing workflow and ships with an SSH ingest endpoint and an HTTP server.

⁠Why run reprepro in Docker

  • Dead-simple signed repo — drop .debs in, get a Packages/Release tree with a detached signature out.
  • Reproducible + portable — the whole repo lives in one /repo volume.
  • Hardened by default — dropped capabilities, read-only root filesystem. See Docker Hardening for Self-Hosters⁠.

⁠Hardened docker-compose.yml

services:
  reprepro:
    image: eilandert/reprepro:latest
    restart: unless-stopped
    read_only: true
    cap_drop: [ALL]
    security_opt:
      - no-new-privileges:true
    tmpfs:
      - /run
    volumes:
      - ./repo:/repo                   # conf/, db/, pool/, dists/
      - ./gpg:/root/.gnupg             # signing key — keep secret + backed up
    ports:
      - "127.0.0.1:8080:80"            # serve dists/ + pool/ (front with TLS)
      - "127.0.0.1:2222:22"            # ingest over SSH

Guard the signing key and ingest path exactly as you would with aptly — repo trust is package-supply-chain trust.

Tag summary

Content type

Image

Digest

sha256:e43012ef4…

Size

99.2 MB

Last updated

about 16 hours ago

docker pull eilandert/reprepro