Skip to content

Commit 06b77c5

Browse files
committed
fix(deb): add libfido2-1 runtime dependency
install.sh strips the official deb Depends line, removing libfido2-1. The bridge binary still links against it, so it must be installed explicitly.
1 parent 5ebc2d1 commit 06b77c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

deb/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ COPY gpgparams entrypoint.sh PACKAGE /protonmail/
2626
COPY --from=build /protonmail.deb /tmp/protonmail.deb
2727

2828
RUN apt-get update \
29-
&& apt-get install -y --no-install-recommends /tmp/protonmail.deb socat pass libsecret-1-0 ca-certificates procps \
29+
&& apt-get install -y --no-install-recommends /tmp/protonmail.deb socat pass libsecret-1-0 libfido2-1 ca-certificates procps \
3030
&& case "${PTY_TOOL}" in \
3131
dtach) apt-get install -y --no-install-recommends dtach ;; \
3232
abduco) apt-get install -y --no-install-recommends abduco ;; \
@@ -37,7 +37,7 @@ RUN apt-get update \
3737
&& rm -rf /var/lib/apt/lists/*
3838

3939
HEALTHCHECK --interval=30s --timeout=5s --retries=3 --start-period=120s \
40-
CMD /bin/bash -c "true < /dev/tcp/127.0.0.1/25 && true < /dev/tcp/127.0.0.1/143 && true < /dev/tcp/127.0.0.1/1025 && true < /dev/tcp/127.0.0.1/1143"
40+
CMD /bin/bash -c "true < /dev/tcp/localhost/25 && true < /dev/tcp/localhost/143 && true < /dev/tcp/localhost/1025 && true < /dev/tcp/localhost/1143"
4141

4242
ENTRYPOINT ["/protonmail/entrypoint.sh"]
4343
CMD ["run"]

0 commit comments

Comments
 (0)