protobuf-clang
: protobuf compiled with clang, linking against libc++. It needs the libc++-16 libs (seeDockerfile
). Dockerfile for Ubuntu 22.04protobuf-clang17
: similar to the previous one, with clang 17.protobuf-clang18
: similar to the previous ones, with clang 18.skopeo
: a newer version, to be able to push packages to GHCR. Dockerfile for Ubuntu 22.04
echo "deb https://ppa.r-pkg.org jammy main" \
> /etc/apt/sources.list.d/rhub.list
curl -L https://raw.githubusercontent.com/r-hub/ppa/main/rhub.gpg.key |
apt-key add -
apt-get update -y
apt-get install -y ...
- You need an Ubuntu or Debian machine, e.g.
and a couple of packages:
docker run -ti -v `pwd`:/root/ppa ubuntu:22.04 bash
apt-get update && apt-get install -y git dpkg-dev gpg
- Copy the DEB files into
pool/main
. - Create
Packages*
files:dpkg-scanpackages --arch amd64 pool/ > dists/jammy/main/binary-amd64/Packages dpkg-scanpackages --arch arm64 pool/ > dists/jammy/main/binary-arm64/Packages gzip -kf dists/jammy/main/binary-amd64/Packages gzip -kf dists/jammy/main/binary-arm64/Packages
- Generate
Release
file(cd dists/jammy && ../../generate-release.sh > Release)
- Import private key for signing
gpg --armor --import pgp-key.private
- Sign the
Release
fileexport GPG_TTY=$(tty) cat dists/jammy/Release | gpg --default-key csardi.gabor@gmail.com -abs \ > dists/jammy/Release.gpg cat dists/jammy/Release | gpg --default-key csardi.gabor@gmail.com -abs --clearsign \ > dists/jammy/InRelease
- Test
From another terminal:
echo "deb http://127.0.0.1:8000/ jammy main" \ > /etc/apt/sources.list.d/rhub.list apt-get install -y python3 curl python3 -m http.server
curl -L http://127.0.0.1:8000/rhub.gpg.key | apt-key add - apt-get update apt-get install skopeo skopeo --version
Creating and hosting your own deb packages and apt repo by Alex Couture-Beil @ Earthly.