Add libfido2 dependency for Bridge v3.22.0

Bridge v3.22.0 added FIDO2/WebAuthn support which requires libfido2
at runtime. This adds libfido2-dev and libcbor-dev to the build stage
and libfido2-1 to the runtime stage for both build and deb Dockerfiles.

Fixes #135

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Hardy Wood 2026-02-23 20:09:25 +00:00 committed by Plato
parent e02b51acc3
commit c44c8260b0
2 changed files with 3 additions and 3 deletions

View file

@ -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