protonmail-bridge-nextcoud-.../deb/Dockerfile
c41ms0n 9bd418503e Resolve linking error libfido2.so.1
```
+ pass init pass-key
...
+ protonmail-bridge --cli
/root/.local/share/protonmail/bridge-v3/updates/3.22.0/bridge: error while loading shared libraries: libfido2.so.1: cannot open shared object file: No such file or directory

Failed to launch                              error="exit status 127" exe_path=/root/.local/share/protonmail/bridge-v3/updates/3.22.0/bridge exe_to_launch=bridge launcher_path=/root/.local/share/protonmail/bridge-v3/updates/3.22.0/proton-bridge launcher_version=3.22.0

Failed to launch                              error="exit status 1" exe_path=/root/.local/share/protonmail/bridge-v3/updates/3.22.0/proton-bridge launcher_path=/usr/lib/protonmail/bridge/proton-bridge launcher_version=3.19.0

```
- https://developers.yubico.com/libfido2/
2026-02-28 13:36:10 +00:00

30 lines
873 B
Docker

### The Deb install is just a repack of the official ProtonMail Bridge deb package with less dependencies.
### I recommend you don't use this. It's here for legacy reasons.
FROM debian:sid-slim AS build
COPY install.sh PACKAGE /
RUN apt-get update && apt-get install -y wget binutils
# Repack deb (removes unnecessary dependencies and produces /protonmail.deb)
RUN bash /install.sh
FROM debian:sid-slim
LABEL maintainer="Simon Felding <sife@adm.ku.dk>"
EXPOSE 25/tcp
EXPOSE 143/tcp
WORKDIR /protonmail
# Copy bash scripts
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 libfido2-1 \
&& rm -rf /var/lib/apt/lists/*
CMD ["bash", "/protonmail/entrypoint.sh"]