Commit graph

114 commits

Author SHA1 Message Date
c41ms0n
036e49faf0 healthcheck: parallel bash probe for smtp/imap on all 4 ports 2026-04-29 21:50:50 +02:00
c41ms0n
dad7066244 docker: BuildKit cache + CGO LTO optimization
Add persistent cache mounts for the Go module cache, Go build cache,
and apt so only changed packages are re-downloaded or recompiled on
subsequent builds.

CGO LTO is injected via `make LIBFIDO2_LDFLAGS=...` rather than ENV
because the Makefile sets CGO_LDFLAGS inline in go-build-finalize,
clobbering any inherited environment variable. Binary stripping is done
with strip --strip-all post-build since the Makefile owns the -ldflags
chain and cannot be extended without losing the -X version constants.
2026-04-29 21:50:50 +02:00
c41ms0n
cb69c79ec1 fix(entrypoint): correct abduco session detection and harden PTY_TOOL handling
- Validate PTY_TOOL at startup and verify the selected binary exists
- Add abduco_session_alive() using `abduco -l` instead of checking BRIDGE_SOCK
  (abduco does not create a socket file, so the old check always failed)
- Fix wait_for_session, manage blocking loop, and attach to use tool-specific
  liveness checks rather than grouping dtach and abduco together
- Add default (*) error branches to all PTY_TOOL case statements
- Check kill -0 BRIDGE_PID inside the port readiness loop to fail fast if the
  bridge exits before its ports are ready
- Add SIGTERM/SIGINT trap with a cleanup() function in run mode so Docker stop
  properly reaps bridge and socat children instead of waiting for the kill timeout
- Replace \$(hostname) with <container> placeholder in user-facing error messages
2026-04-29 21:50:50 +02:00
c41ms0n
7516b3b234 chore: update TCP healthcheck for multiple mail services
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-29 21:50:50 +02:00
c41ms0n
05a0388dd6 build: add reptyr support and validation to PTY_TOOL
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-29 21:50:50 +02:00
c41ms0n
3913448f2f build: switch to Go-based multi-stage build and improve
- Use golang:1.26-trixie builder instead of debian:sid
- Build proton-bridge from source via version argument/envelopment
- Add support for PTY tools (dtach, abduco, reptyr) for interactive sessions
- Introduce manage and attach commands for bridge CLI sessions
- Improve daemon startup with port readiness checks
- Add HEALTHCHECK and configurable CMD/ENTRYPOINT
- Harden entrypoint with strict bash flags and better error handling
- Install additional runtime deps (libfido2, procps) and optional PTY tools
2026-04-29 21:50:50 +02:00
simonfelding
4ccd39856a
improve build readability and speed (by parallelization) (#117) 2025-04-24 23:03:50 +02:00
GitHub Actions
546f813ea4 Bump build version to 3.19.0 2025-03-19 00:18:37 +00:00
GitHub Actions
2bd42d97ca Bump build version to 3.18.0 2025-02-28 00:17:35 +00:00
simonfelding
d00645ffcc
add vaulteditor and fix build on arm (#114)
first working build for a long time
2025-02-15 19:38:15 +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
GitHub Actions
d2828adae6 Bump build version to 3.17.0 2025-02-14 00:17:18 +00:00
GitHub Actions
718ccfacc2 Bump build version to 3.20.12 2025-02-13 00:17:18 +00:00
GitHub Actions
1cd0a1e01a Bump build version to 3.17.0 2025-01-30 00:16:31 +00:00
GitHub Actions
c7cef79482 Bump build version to 3.16.0 2024-12-18 00:18:00 +00:00
GitHub Actions
11cf98c1f4 Bump build version to 3.15.1 2024-12-06 00:18:35 +00:00
GitHub Actions
abf6dd9055 Bump build version to 3.15.0 2024-11-14 00:16:51 +00:00
GitHub Actions
63e7e3098e Bump build version to 3.14.0 2024-10-01 00:18:58 +00:00
GitHub Actions
64b50d7e24 Bump build version to 3.13.0 2024-09-11 00:15:41 +00:00
GitHub Actions
48717095db Bump build version to 3.12.0 2024-06-20 00:13:45 +00:00
GitHub Actions
471a00b96b Bump build version to 3.11.1 2024-05-22 00:13:26 +00:00
GitHub Actions
3aee9f2e4a Bump build version to 3.11.0 2024-04-30 00:12:59 +00:00
GitHub Actions
47e204b047 Bump build version to 3.10.0 2024-03-13 00:12:46 +00:00
GitHub Actions
bc9f21fa87 Bump build version to 3.9.1 2024-02-13 00:13:22 +00:00
GitHub Actions
64495cd318 Bump build version to 3.9.0 2024-02-01 00:13:28 +00:00
GitHub Actions
ca1fd017f0 Bump build version to 3.8.1 2023-12-13 00:13:09 +00:00
GitHub Actions
a1afacb63a Bump build version to 3.8.0 2023-12-12 00:13:22 +00:00
GitHub Actions
5d94313662 Bump build version to 3.7.1 2023-11-23 00:13:20 +00:00
GitHub Actions
5fd66d65ef Bump build version to 3.7.0 2023-11-15 00:13:09 +00:00
GitHub Actions
0d0808a6cd Bump build version to 3.6.1 2023-10-21 00:12:01 +00:00
GitHub Actions
1fe6a19bd5 Bump build version to 3.6.0 2023-10-18 00:12:28 +00:00
GitHub Actions
fc7540d86f Bump build version to 3.5.3 2023-10-13 00:12:40 +00:00
GitHub Actions
e782f3fca6 Bump build version to 3.5.2 2023-10-11 00:12:13 +00:00
GitHub Actions
33196176b6 Bump build version to 3.5.1 2023-09-29 00:12:21 +00:00
GitHub Actions
b764f02f7a Bump build version to 3.5.0 2023-09-15 00:12:17 +00:00
GitHub Actions
3b069e5899 Bump build version to 3.4.2 2023-09-05 00:11:36 +00:00
GitHub Actions
1423a659e1 Bump build version to 3.4.1 2023-08-15 00:11:45 +00:00
GitHub Actions
932bc92e2a Bump build version to 3.4.0 2023-08-05 00:13:04 +00:00
GitHub Actions
0ed338435d Bump build version to 3.3.2 2023-07-14 00:15:56 +00:00
GitHub Actions
d9fec14796 Bump build version to 3.3.1 2023-07-08 00:16:29 +00:00
GitHub Actions
ddb3df2c7c Bump build version to 3.3.0 2023-06-09 00:17:58 +00:00
GitHub Actions
3cbc54a93b Bump build version to 3.2.0 2023-05-16 00:12:45 +00:00
GitHub Actions
868b1a48c6 Bump build version to 3.1.3 2023-05-11 00:12:36 +00:00
GitHub Actions
d0e4bcd866 Bump build version to 3.1.2 2023-04-28 00:13:24 +00:00
GitHub Actions
1dff35b541 Bump build version to 3.1.1 2023-04-12 00:12:15 +00:00
GitHub Actions
7790563b9f Bump build version to 3.1.0 2023-04-06 00:12:09 +00:00
GitHub Actions
7c0d8737dc Bump build version to 3.0.21 2023-03-24 00:13:03 +00:00
GitHub Actions
b0eeddd83d Bump build version to 3.0.20 2023-03-11 00:12:48 +00:00
GitHub Actions
6a492a15e7 Bump build version to 3.0.19 2023-03-02 00:15:24 +00:00
GitHub Actions
109da843e7 Bump build version to 3.0.18 2023-02-25 00:14:35 +00:00