# Rancher Stack Git Build Error

**URL:** <https://forums.suse.com/t/rancher-stack-git-build-error/5210>\
**Category:** RancherOS\
**Created:** [January 16, 2017, 4:11am UTC](https://forums.suse.com/t/rancher-stack-git-build-error/5210 "2017-01-16T04:11:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![weekend\_at\_bernies](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/weekend_at_bernies/32/7900_2.png) [@weekend\_at\_bernies](https://forums.suse.com/u/weekend_at_bernies)\
**Post date:** [January 16, 2017, 4:11am UTC](https://forums.suse.com/t/rancher-stack-git-build-error/5210/1 "2017-01-16T04:11:54Z")

</div>

Running Rancher Server on top of RancherOS and deploying a stack. Using the build option in Docker Compose to build images from Github, having an error that the Git executable was not found in path.  
Tried using the alias git=“docker run -ti --rm -v $(pwd):/git bwits/docker-git-alpine”, which works ok in terminal, but not in Rancher Server.  
Any way around this without installing the Ubuntu console?

---

<div class="post-metadata">

**Author:** ![SvenDowideit](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/svendowideit/32/2159_2.png) [@SvenDowideit](https://forums.suse.com/u/SvenDowideit)\
**Post date:** [January 16, 2017, 4:33am UTC](https://forums.suse.com/t/rancher-stack-git-build-error/5210/2 "2017-01-16T04:33:31Z")

</div>

ooo, good question.

Atm, I’m faking up something like that with the zfs service I’m trying to put together for the 0.8.0 release - see [https://github.com/rancher/os-services/pull/74/files](https://github.com/rancher/os-services/pull/74/files)

Essentially, instead of an alias, I’m making a copy a script (`wonka.sh`) into `/bin/` for each binary I want to have working in the console.

The painful part is that you need to re-do that every time the console starts (ie, boots)

---

<div class="post-metadata">

**Author:** ![joshwget](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/joshwget/32/704_2.png) [@joshwget](https://forums.suse.com/u/joshwget)\
**Post date:** [January 17, 2017, 5:59pm UTC](https://forums.suse.com/t/rancher-stack-git-build-error/5210/3 "2017-01-17T17:59:00Z")

</div>

What do you mean by in Rancher Server? Do you mean running a shell inside the Rancher server container?
