Commit Graph

6 Commits

Author SHA1 Message Date
c41ms0n
be89ba8662 refactor: replace faketty with headless --noninteractive daemon + PTY_TOOL switcher
- Drop faketty named pipe and screen; daemon runs via exec protonmail-bridge --noninteractive
  so stdout/stderr reach docker logs natively and SIGTERM lands directly on the bridge
- Add PTY_TOOL build ARG/ENV (dtach default, abduco, reptyr) for interactive sessions only
- Split commands: init (first-time setup), run (daemon), manage (interactive CLI), attach (reattach)
- PTY machinery isolated to manage/attach; restart loop and log forwarding hacks removed
- Fix $1 unbound variable with ${1:-}, set -ex replaced with set -euo pipefail
- chmod +x consolidated into install RUN layer; healthcheck -exc fixed to -c
- CMD switched to exec form to ensure signals reach entrypoint directly
2026-03-03 11:16:21 +00:00
simonfelding
4ccd39856a
improve build readability and speed (by parallelization) (#117) 2025-04-24 23:03:50 +02:00
simonfelding
2745c6eb57
deb build: make sure it has the necessary tools (#116) 2025-02-17 10:15:22 +01:00
simonfelding
a19458f703
fix builds by switching base layer to debian:sid-slim
tested locally, works fine.
debian has supported riscv64 in the sid image for some time.

this is the same thing the carlosedp/golang image did.

this also fixes the bug with the wrong glibc version, as the build
container now uses the same glibc version as the final container.
2025-02-15 17:07:15 +01:00
Aziz Hasanain
b1b6706030
Update Ubuntu tag for deb to fix GLIBC dependency (#80)
GLIBC dependency issue highlighted in
https://github.com/shenxn/protonmail-bridge-docker/issues/79 is caused
by v3 of the bridge not supporting bionic. This PR simply updates the
"deb" version to match the "build" version which is already on
ubuntu:jammy.
2023-03-23 09:13:58 +08:00
Xiaonan Shen
cc319ba0a7
Move deb packing under deb folder (#12) 2020-11-19 19:46:18 -08:00