archiso-bcachefs/docker-setup.sh
2020-03-09 21:55:50 +01:00

11 lines
254 B
Bash
Executable file

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR
docker run \
-i \
--rm --privileged=true \
--name archiso \
--mount type=bind,source="$DIR",target=/archiso \
archlinux:latest bash < ./in_docker.sh