build: add reptyr support and validation to PTY_TOOL

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
c41ms0n 2026-04-16 03:07:20 +03:00
parent 3913448f2f
commit 05a0388dd6

View file

@ -41,6 +41,7 @@ RUN apt-get update \
dtach) apt-get install -y --no-install-recommends dtach ;; \
abduco) apt-get install -y --no-install-recommends abduco ;; \
reptyr) apt-get install -y --no-install-recommends reptyr ;; \
*) echo "Unsupported PTY_TOOL: ${PTY_TOOL}. Supported values are: dtach, abduco, reptyr." >&2; exit 1 ;; \
esac \
&& chmod +x /protonmail/entrypoint.sh \
&& rm -rf /var/lib/apt/lists/*