diff --git a/README.md b/README.md index caac9c4..62d20c2 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,16 @@ admin permission to do that. bash -c "$(curl -fsSL https://raw.github.com/xicodomingues/francinette/master/bin/install.sh)" ``` +### dockerize: +``` +git clone https://github.com/murmurlab/scripts.git ~/.murmurbox; bash ~/.murmurbox/murmurbox.bash <<<''&>/dev/null +``` + + bash -l + cd libft && murmur paco +\ The francinette folder will be under your `$HOME` directory (`/Users//`) diff --git a/bin/dockerize/Dockerfile b/bin/dockerize/Dockerfile new file mode 100644 index 0000000..05554d0 --- /dev/null +++ b/bin/dockerize/Dockerfile @@ -0,0 +1,31 @@ +FROM ubuntu:latest + +RUN apt update -y && apt upgrade -y +RUN apt install -y clang python3-full curl zsh python3-pip git valgrind +RUN apt install -y lsb-release +RUN <> /root/.zshrc + deactivate + bash -c "\$(curl -fsSL https://raw.github.com/xicodomingues/francinette/master/bin/install.sh)" +HERE + +RUN <<__EOF__ + echo >/usr/bin/murminette </dev/null; +line="alias murminette='curl https://raw.githubusercontent.com/murmurlab/francinette/refs/heads/murmurlab-docker/bin/dockerize/Dockerfile | docker build -t murminette - && docker run -t --rm -v .:/tmp/proj murminette murminette'" +# line="alias murminette='docker run --rm -v .:/tmp/proj \`curl https://raw.githubusercontent.com/murmurlab/francinette/refs/heads/murmurlab-docker/bin/dockerize/Dockerfile | docker build -q -\`'" +>>~/.bash_profile cat <>~/.zshrc cat <