This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/os/linux/arch/bootstrap-test.fish

14 lines
308 B
Fish
Raw Permalink Normal View History

#!/usr/bin/env fish
docker ps -q || begin
echo "docker not running"
exit 1
end
docker pull archlinux -q || begin
echo "failed to pull archlinux docker image"
exit 1
end
2021-03-25 09:04:51 -05:00
docker run -it --rm -v $DOTFILES_PATH:/dotfiles:ro archlinux sh -c "pacman -Sy --noconfirm git; /dotfiles/common/bin/dotfiles-init"