Supported Releases
| Codename | Ubuntu Version |
|---|---|
| focal | 20.04 LTS |
| jammy | 22.04 LTS |
| mantic | 23.10 |
| noble | 24.04 LTS |
| oracular | 24.10 |
Dockerfile
noble with your target release codename.
Build
How It Works
gnupgandca-certificatesare installed from the upstream Ubuntu registry first.- Root.io’s GPG key is imported to
/etc/apt/keyrings/rootio.gpgfor package signature verification. - The API key is written to
/etc/apt/auth.conf.d/rootio.conf— APT reads it automatically and it never appears in the source URL. - For each package,
apt-cache show rootio-<pkg>checks if a Root-patched version exists. If yes, the patched version is installed; if not, the standard upstream package is used. - The auth file is removed in the same
RUNlayer, so credentials are never persisted in the image.
CI/CD Integration
- GitHub Actions
- GitLab CI
Troubleshooting
| Issue | Solution |
|---|---|
401 Unauthorized on apt-get update | Verify ROOTIO_API_KEY is set and passed via --secret |
rootio-<package> not found | Root hasn’t patched this package yet — the fallback installs the upstream version |
| GPG key import fails | Ensure gnupg and ca-certificates are installed before the key import step |
--secret flag not recognized | Prepend DOCKER_BUILDKIT=1 to your build command |