fix: add libfido2-dev to build stage for CGo linking

Proton Bridge 3.22+ links against libfido2 via CGo. The build stage
needs libfido2-dev (headers + pkg-config) in addition to the runtime
libfido2-1 already added.
This commit is contained in:
Steve 2026-04-17 13:28:16 +02:00
parent 15a89be952
commit f5796988d7

View file

@ -4,7 +4,7 @@ FROM debian:sid-slim AS build
ARG version ARG version
# Install dependencies # 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
# Build # Build
ADD https://github.com/ProtonMail/proton-bridge.git#${version} /build/ ADD https://github.com/ProtonMail/proton-bridge.git#${version} /build/