From 3f87d011e73e92b48db0f0fe7bfecc33c67c3fda Mon Sep 17 00:00:00 2001
From: Paul Campbell <pcampbell@kemitix.net>
Date: Sat, 18 Jan 2025 20:19:49 +0000
Subject: [PATCH] feat: add dbus-dev to image

---
 Dockerfile |  1 +
 README.md  | 26 +++++++++++++++++++++++++-
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index e301952..f638a27 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -39,6 +39,7 @@ RUN apk add --no-cache \
   libssl3 \
   openssl-dev \
   perl \
+  dbus-dev \
   git
 
   # clang \
diff --git a/README.md b/README.md
index 6a73835..cf908c1 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,7 @@ The available toolchain in the image are:
 - cargo-chef
 - cargo-hack
 - release-plz
+- dbus-dev
 - perl
 
 ### Scripts
@@ -61,10 +62,33 @@ steps:
 
 ## Caveats
 
-### native-tls
+### openssl
+
+The alpine linux install doesn't build with this dependency. You can either compile `native-tls` with the `vendored` feature, or not use `openssl`.
+
+#### vendoered native-tls
 
 This crate *must* use the `vendored` feature in order to compile in the Alpine Linux image.
 
 ```toml
 native-tls = { version = "0.2", features = ["vendored"] }
 ```
+
+#### Don't use `openssl`
+
+Check that none of your dependencies require `openssl`:
+
+```bash
+cargo tree --edges normal -i openssl
+```
+
+This will list the tree of dependencies that are bringing in `openssl`.
+
+If you do need ssl/tls, try using `rustls`.  e.g.
+
+```toml
+reqwest = { version = "0.12", default-features = false, features = [
+  "json",
+  "rustls-tls",
+] }
+```