forked from retoor/snek
feat: replace runtime ubuntu image with custom snek_ubuntu and move r binary into Dockerfile
Add DockerfileUbuntu that pre-installs r binary and all required system dependencies, removing the need for per-container apt installs and binary copy from .bashrc. Update terminal view to use the new snek_ubuntu image instead of ubuntu:latest. Fix terminal session buffer check to use self.history instead of self.buffer. Add docker build target to Makefile.
This commit is contained in:
@@ -92,11 +92,6 @@ if [ -f ~/.bash_aliases ]; then
|
||||
fi
|
||||
|
||||
|
||||
cp ~/r /usr/local/bin
|
||||
|
||||
chmod +x /usr/local/bin/r
|
||||
|
||||
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 -y
|
||||
|
||||
echo "R is installed. Type r to run it."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user