feat: first working version
This commit is contained in:
@@ -4,13 +4,13 @@ containername=$([[ $1 ]] && echo $1 || echo "devcontainer")
|
||||
containermount=$([[ $2 ]] && echo $2 || echo "$HOME/projects/")
|
||||
|
||||
echo "
|
||||
=> Mounting folder to /mnt
|
||||
=> Mounting folder $containermount to /mnt (in container)
|
||||
"
|
||||
|
||||
docker run -it \
|
||||
-v $containermount:/mnt \
|
||||
-v ~/.config/fish:/root/.config/fish \
|
||||
-v ~/projects/system/dotfiles/scripts/:/root/projects/system/dotfiles \
|
||||
--name $containername \
|
||||
-w /mnt \
|
||||
git.janishutz.com/registry/dev-container-base
|
||||
-v $containermount:/mnt \
|
||||
-v ~/.config/fish:/root/.config/fish \
|
||||
-v ~/projects/system/dotfiles/scripts/:/root/projects/system/dotfiles \
|
||||
--name $containername \
|
||||
-w /mnt \
|
||||
git.janishutz.com/registry/dev-container-base
|
||||
|
||||
Reference in New Issue
Block a user