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?
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
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)
What do you mean by in Rancher Server? Do you mean running a shell inside the Rancher server container?