From 15a89be952b5e104083b0b4e9562b26aeaa23503 Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 17 Apr 2026 12:48:35 +0200 Subject: [PATCH] fix: add libfido2-1 and libsecret-1-0 to runtime deps Since Proton Bridge 3.22, libfido2-1 is a required runtime dependency that was missing from the Docker image, causing container crashes on startup with a missing library error. libsecret-1-0 and ca-certificates were already present; only libfido2-1 is added here. Refs #135, #141, #147 --- build/Dockerfile | 2 +- deb/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index e90ff25..b1e6b53 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -19,7 +19,7 @@ EXPOSE 143/tcp # Install dependencies and protonmail bridge RUN apt-get update \ - && apt-get install -y --no-install-recommends socat pass libsecret-1-0 ca-certificates \ + && apt-get install -y --no-install-recommends socat pass libsecret-1-0 ca-certificates libfido2-1 \ && rm -rf /var/lib/apt/lists/* # Copy bash scripts diff --git a/deb/Dockerfile b/deb/Dockerfile index a0d8e2c..c7251af 100644 --- a/deb/Dockerfile +++ b/deb/Dockerfile @@ -22,7 +22,7 @@ COPY gpgparams entrypoint.sh PACKAGE /protonmail/ COPY --from=build /protonmail.deb /tmp/protonmail.deb RUN apt-get update \ - && apt-get install -y --no-install-recommends /tmp/protonmail.deb socat pass libsecret-1-0 ca-certificates procps \ + && apt-get install -y --no-install-recommends /tmp/protonmail.deb socat pass libsecret-1-0 ca-certificates procps libfido2-1 \ && rm -rf /var/lib/apt/lists/* CMD ["bash", "/protonmail/entrypoint.sh"]