-
Notifications
You must be signed in to change notification settings - Fork 10
docker
Kev++ edited this page Mar 1, 2016
·
6 revisions
😄 Get the latest docker binary here.
git clone --depth 1 --branch v1.9.1 --single-branch https://github.com/docker/docker.git
cd docker
wget https://github.com/umiddelb/armhf/raw/master/Dockerfile.armv7
sed 's/ENV GOARM 7/ENV GOARM 6/' Dockerfile.armv7 > Dockerfile.armv6
diff Dockerfile.armv*
ln -sf Dockerfile.armv7 Dockerfile
make binary
cp ./bundles/latest/binary/docker /usr/local/bin/docker-1.9.1-armv7h
rm -rf bundles
ln -sf Dockerfile.armv6 Dockerfile
make binary
cp ./bundles/latest/binary/docker /usr/local/bin/docker-1.9.1-armv6h
rm -rf bundles
ln -sf /usr/local/bin/docker-1.9.1-armv7h /usr/local/bin/docker
docker version
To build binary quickly, these lines can be deleted. 😄