Skip to content

Commit

Permalink
Adds makisu and go binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
captn3m0 committed Feb 10, 2019
1 parent 3392030 commit 1fc2c1d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions files/bash/.bashrc
Expand Up @@ -7,6 +7,7 @@ pathadd() {
}

pathadd '/home/nemo/bin'
pathadd '/home/nemo/projects/go/bin'

alias watch='watch '
alias xclip='xclip -selection c'
Expand Down Expand Up @@ -547,4 +548,20 @@ function sprint() {
cut -d ' ' -f 4- |
# To handle multiple commit-pull-reset-commit cycles
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
}

0 comments on commit 1fc2c1d

Please sign in to comment.