Commit 5ff1d53b authored by Carlo Landmeter's avatar Carlo Landmeter

add script to administer dabuild

parent 92e1d5f5
#!/bin/sh
readonly cmd=$1
manage_config() {
docker run --user 1000:1000 --rm -it --workdir /mnt/abuild \
-v dabuild-config:/mnt/abuild alpine sh
}
usage() {
cat <<- EOF
dabuild: version (unknown)
Available commands:
config: access abuild configuration
help: this help screen
EOF
}
case $cmd in
config) manage_config;;
help) usage;;
*) usage; exit 1;;
esac
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment