diff --git a/Dockerfile b/Dockerfile
index b2ec72c..d20a3ef 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,6 +4,7 @@ FROM docker.io/rust:1.78.0-slim-bookworm
 # curl - to download cargo-binstall
 # clang-16 & mold - faster linkers for rust
 # pkg-config - required to compile some rust `-sys` packages
+# libssl-dev - build dependency for git-next
 RUN apt-get update \
   && \
   apt-get install -y \
@@ -13,6 +14,7 @@ RUN apt-get update \
   clang-16=1:16.0.6-15~deb12u1 \
   mold=1.10.1+dfsg-1 \
   pkg-config=1.8.1-1 \
+  libssl-dev=3.0.11-1~deb12u2 \
   && \
   rm -r /var/lib/apt/lists/*