From 1055912e84eb047c16eb631c71afb89ebef045c2 Mon Sep 17 00:00:00 2001 From: ash-bot Date: Tue, 10 Mar 2026 20:51:59 -0700 Subject: [PATCH] Add libfido2 dependency for Bridge v3.22.0 Bridge v3.22.0 added FIDO2/WebAuthn support which requires libfido2 at runtime. Adds libfido2-dev and libcbor-dev to build stage, and libfido2-1 to runtime stage for both build and deb Dockerfiles. Ref: shenxn/protonmail-bridge-docker#139 --- build/Dockerfile | 4 ++-- deb/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index e90ff25..1321567 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -4,7 +4,7 @@ FROM debian:sid-slim AS build ARG version # Install dependencies -RUN apt-get update && apt-get install -y golang build-essential libsecret-1-dev +RUN apt-get update && apt-get install -y golang build-essential libsecret-1-dev libfido2-dev libcbor-dev # Build ADD https://github.com/ProtonMail/proton-bridge.git#${version} /build/ @@ -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 libfido2-1 ca-certificates \ && rm -rf /var/lib/apt/lists/* # Copy bash scripts diff --git a/deb/Dockerfile b/deb/Dockerfile index a0d8e2c..50db37c 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 libfido2-1 ca-certificates procps \ && rm -rf /var/lib/apt/lists/* CMD ["bash", "/protonmail/entrypoint.sh"]