fix cpu arch detection

nice hack by @cheaproc
This commit is contained in:
Casey Bisson 2017-05-19 10:36:54 -07:00 committed by GitHub
parent 0b1e97425e
commit c781575962

View File

@ -14,7 +14,7 @@ echo "This installation will only happen once."
rm -Rf /tmp/triton-docker /usr/local/bin/triton-docker-helper
mkdir -p /tmp/triton-docker
curl https://get.docker.com/builds/$(uname -a | awk '{ print $1 }')/$(uname -a | awk '{ print $NF }')/docker-1.12.6.tgz | tar zxvf - -C /tmp/triton-docker
curl https://get.docker.com/builds/$(uname -a | awk '{ print $1 }')/$(file /bin/sh | awk '{ print $NF }')/docker-1.12.6.tgz | tar zxvf - -C /tmp/triton-docker
mv /tmp/triton-docker/docker/docker /usr/local/bin/triton-docker-helper
rm -Rf /tmp/triton-docker
chmod +x /usr/local/bin/triton-docker-helper