fix: correct DockerfileUbuntu package list, add rustup install, and fix terminal init sequence

- Fix typo in DockerfileDrive COPY command (COpy -> COPY)
- Add xterm, valgrind, ack, irssi, lynx packages to DockerfileUbuntu
- Add rustup installation with nightly toolchain in DockerfileUbuntu
- Fix r binary move path in DockerfileUbuntu (add trailing /r)
- Remove CMD ["r"] from DockerfileUbuntu
- Replace terminal.html onopen handler: call fitAddon.fit() and send form feed instead of hardcoded green text
- Add $HOME/bin to PATH in .bashrc
- Add resize command to .bashrc for terminal geometry sync
- Delete terminal/.rcontext.txt file entirely
This commit is contained in:
2025-05-08 01:20:06 +00:00
parent 6d645d5225
commit 32aab59086
5 changed files with 17 additions and 39 deletions
+4 -3
View File
@@ -1,11 +1,12 @@
FROM ubuntu:latest
RUN apt update && apt install libreadline-dev libcurl4-openssl-dev libssl-dev libncurses5-dev libncursesw5-dev libsqlite3-dev libreadline6-dev zlib1g-dev libbz2-dev libffi-dev liblzma-dev python3 python3-pip python3-venv libjson-c-dev vim htop git curl wget -y
RUN apt update && apt install libreadline-dev libcurl4-openssl-dev libssl-dev libncurses5-dev libncursesw5-dev libsqlite3-dev libreadline6-dev zlib1g-dev libbz2-dev libffi-dev liblzma-dev python3 python3-pip python3-venv libjson-c-dev vim htop git curl wget xterm valgrind ack irssi lynx -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain nightly -y
RUN wget https://retoor.molodetz.nl/api/packages/retoor/generic/r/1.0.0/r
RUN chmod +x r
RUN mv r /usr/local/bin
RUN mv r /usr/local/bin/r
CMD ["r"]