Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on Raspberry armhf requires patch of Dockerfile #4733

Closed
daccle opened this issue Apr 13, 2017 · 2 comments · Fixed by #6666
Closed

Building on Raspberry armhf requires patch of Dockerfile #4733

daccle opened this issue Apr 13, 2017 · 2 comments · Fixed by #6666

Comments

@daccle
Copy link

daccle commented Apr 13, 2017

Hi folks!

I am very sorry, I am not deep down into docker development and I am just learning about the whole docker world. Maybe I am just missing an obvious option. But in order to build on Raspbian on a Raspberry Pi 3 I need the following patch to Dockerfile

diff --git Dockerfile Dockerfile
index a03e151..028277a 100644
--- Dockerfile
+++ Dockerfile
@@ -1,4 +1,4 @@
-FROM debian:wheezy
+FROM armhf/debian:latest

 RUN set -ex; \
     apt-get update -qq; \

If there is an option I am missing here please point me to that option and close the issue.

Best, Daniel

@shin-
Copy link

shin- commented Apr 13, 2017

We already have a Dockerfile to build for ARM: https://github.com/docker/compose/blob/master/Dockerfile.armhf

You can build the image using the following command (from the repo's root): docker build -t compose:armhf -f Dockerfile.armhf .

@daccle
Copy link
Author

daccle commented Apr 18, 2017

Okay, great. I just didn't found that option in the documentation. I will close this issue here.

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants