Add libfido2 and libcbor to fix build of 3.22

This commit is contained in:
Piotr Karasinski 2026-02-11 18:45:21 +01:00
parent 97014ae98c
commit c6fb364c9a

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 ca-certificates libfido2-1 \
&& rm -rf /var/lib/apt/lists/*
# Copy bash scripts