mirror of
https://github.com/captn3m0/dotfiles.git
synced 2024-09-28 04:22:53 +00:00
Adds makisu and go binaries
This commit is contained in:
parent
3392030c3d
commit
1fc2c1d3b4
@ -7,6 +7,7 @@ pathadd() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pathadd '/home/nemo/bin'
|
pathadd '/home/nemo/bin'
|
||||||
|
pathadd '/home/nemo/projects/go/bin'
|
||||||
|
|
||||||
alias watch='watch '
|
alias watch='watch '
|
||||||
alias xclip='xclip -selection c'
|
alias xclip='xclip -selection c'
|
||||||
@ -547,4 +548,20 @@ function sprint() {
|
|||||||
cut -d ' ' -f 4- |
|
cut -d ' ' -f 4- |
|
||||||
# To handle multiple commit-pull-reset-commit cycles
|
# To handle multiple commit-pull-reset-commit cycles
|
||||||
uniq
|
uniq
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://github.com/uber/makisu
|
||||||
|
|
||||||
|
function makisu_build() {
|
||||||
|
makisu_version=${MAKISU_VERSION:-v0.1.8}
|
||||||
|
|
||||||
|
docker run -i --rm --net host \
|
||||||
|
-v /var/run/docker.sock:/docker.sock \
|
||||||
|
-e DOCKER_HOST=unix:///docker.sock \
|
||||||
|
-v $(pwd):/makisu-context \
|
||||||
|
-v /tmp/makisu-storage:/makisu-storage \
|
||||||
|
gcr.io/makisu-project/makisu:$makisu_version build \
|
||||||
|
--modifyfs=true --load \
|
||||||
|
${@:1:-1} /makisu-context
|
||||||
|
# popd
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user