forked from retoor/snek
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.
12 lines
408 B
Plaintext
12 lines
408 B
Plaintext
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 wget https://retoor.molodetz.nl/api/packages/retoor/generic/r/1.0.0/r
|
|
|
|
RUN chmod +x r
|
|
|
|
RUN cp r /usr/local/bin
|
|
|
|
CMD ["r"]
|