Open
Conversation
added 4 commits
July 25, 2018 11:09
Raspbian has shipped many 3rd-party python wheels through https://www.piwheels.org/simple including tensorflow. This made building docker images much easier. This patch upgrades the following 3rd-party packages: - https://bootstrap.pypa.io/get-pip.py - numpy==1.15.0 - tensorflow==1.9.0 Deb package python-numpy and python-scipy were removed to avoid conficts reported by pip install. Deb package libatlas3-base was added. Because it was needed by numpy. Signed-off-by: Liu Qun <qunliu@zyhx-group.com>
This enables cross-building from x86 host. Signed-off-by: Liu Qun <qunliu@zyhx-group.com>
Signed-off-by: Liu Qun <qunliu@zyhx-group.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An implementation for issue #9
It enables image cross-building from any 64-bit PC.
And I have uploaded another none-official docker image for raspberry pi 2/3 at:
Welcome to test (I have only one Raspberry Pi 2 at hand. And I don't know whether my docker image works on other device or not.)
Raspberry Pi 2/3:
docker run -it -p 8888:8888 -v $HOME:/notebooks/ liuqun/rpi-docker-tensorflow:1.9.0PC x86_64:
docker run --rm --privileged multiarch/qemu-user-static:registerdocker run -it -p 8888:8888 -v $HOME:/notebooks/ liuqun/rpi-docker-tensorflow:1.9.0The docker image liuqun/rpi-docker-tensorflow:1.9.0 contains:
pip install