forked from retoor/snek
The cp command in DockerfileUbuntu had two errors: the source path was incorrectly specified as './root' instead of '/root', and the target directory was misspelled as '/opt/bootrap/root' instead of '/opt/bootstrap/root'. This fix ensures the bootstrap root files are properly copied during image build.
19 lines
710 B
Plaintext
19 lines
710 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 xterm valgrind ack irssi lynx tmux -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/r
|
|
|
|
RUN echo 'root:root' | chpasswd
|
|
|
|
COPY ./terminal /opt/bootstrap
|
|
COPY ./terminal /opt/snek
|
|
RUN cp -r /root /opt/bootstrap/root
|
|
COPY ./terminal/entry /usr/local/bin/entry
|