export GIT_CLONE_METHOD=ssh
bash -c "$(curl -fsSL https://raw.githubusercontent.com/rachartier/dotfiles/main/.config/scripts/first_install.sh)"
export DOTFILES_MINIMAL=1
export GIT_CLONE_METHOD=ssh
bash -c "$(curl -fsSL https://raw.githubusercontent.com/rachartier/dotfiles/main/.config/scripts/first_install.sh)"
export DOTFILES_DOCKER=1
export GIT_CLONE_METHOD=https
bash -c "$(curl -fsSL https://raw.githubusercontent.com/rachartier/dotfiles/main/.config/scripts/first_install.sh)"
Launch a docker container:
docker run --privileged -ti ubuntu:22.04 /bin/bash
When inside, create a user (password is set to "test"):
apt update && apt install -y curl sudo && yes | useradd -m -p $(perl -e 'print crypt($ARGV[0], "password")' 'test') dotfilesuser && usermod -aG sudo dotfilesuser && su dotfilesuser
Next, install the dotfiles, and when the password is asked, type "test":
export DOTFILES_DOCKER=1
export GIT_CLONE_METHOD=https
bash -c "$(curl -fsSL https://raw.githubusercontent.com/rachartier/dotfiles/main/.config/scripts/first_install.sh)"
Finally, when all is finished, type:
zsh
and next:
cd && export LANG=en_US.UTF-8 && export APPIMAGE_EXTRACT_AND_RUN=1
You should be able to try the config!
A portable dotfiles, in a docker, to be used on any device without installation.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/rachartier/dotfiles/main/.config/scripts/setup-container-env.sh)"
docker run -v "$HOME/dev:/home/ubuntu/dev" -v "$HOME/.config/github-copilot:/home/ubuntu/.config/github-copilot" -v "/tmp/X11-unix:/tmp/X11-unix" -e DISPLAY=$DISPLAY --net=host --name="dotfile-dev" --entrypoint zsh --privileged -d -ti rachartier/dotfile-dev:latest