This commit is contained in:
2025-06-11 01:21:21 +02:00
parent 1b2ad3965b
commit 5f06d7e04c
5 changed files with 105 additions and 13 deletions
+47
View File
@@ -0,0 +1,47 @@
πŸ‘‹ Welcome to your custom Ubuntu development environment!
This container is pre-configured with a rich set of tools to help you hit the ground running:
πŸ”§ Development Libraries & Tools:
Full support for building and debugging C/C++ and Python code
Libraries for SSL, readline, SQLite, zlib, bz2, ffi, lzma, and JSON-C
Valgrind for memory debugging and profiling
🐍 Python:
Python 3 with pip and virtual environment support (venv)
πŸ¦€ Rust:
Rust installed with the nightly toolchain via rustup
πŸ›  Command-line Essentials:
vim, tmux, htop, git, curl, wget, xterm, ack, and more
πŸ’¬ Networking & Communication:
irssi for IRC and lynx for browsing from the terminal
πŸ“¦ Custom Tool Installed:
Latest version of AI vibe coding tool r is installed from the
retoor.molodetz.nl repository.
To get started, open a new terminal and type "r" to launch the tool.
Configure ~/.rcontext.txt to describe it's behavior. It can be a friend
or a whatever you like.
πŸ” Credentials:
Default root password is set to: root (please change it if needed)
πŸ—‚ Custom Terminal Files:
Files from ./terminal/ have been copied to your home directory (/root/)
Enjoy hacking in your personalized command-line workspace!
Executable
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env python3
import os
import sys
import pathlib
import os
os.chdir("/root")
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
sys.path.insert(0, "/root/bin")
sys.path.insert(0, "/root/bin/local/bin")
if not pathlib.Path(".welcome.txt").exists():
os.system("python3 -m venv --prompt '' .venv")
os.system("cp -r /opt/bootstrap/root/.* /root")
os.system("cp /opt/bootstrap/.welcome.txt /root/.welcome.txt")
pathlib.Path(".bashrc").write_text(pathlib.Path(".bashrc").read_text() + "\n" + "source .venv/bin/activate")
os.environ["SNEK"] = "1"
if pathlib.Path(".welcome.txt").exists():
with open(".welcome.txt") as f:
print(f.read())
os.system("bash")