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

Raspberry Pi #16

Closed
mouzzampk2014-zz opened this issue Sep 26, 2019 · 13 comments
Closed

Raspberry Pi #16

mouzzampk2014-zz opened this issue Sep 26, 2019 · 13 comments

Comments

@mouzzampk2014-zz
Copy link

Hi, can I use this docker with raspberry pi? Thank you

@pannal
Copy link
Owner

pannal commented Oct 5, 2019

Why shouldn't you be able to? Are there any restrictions?

@mouzzampk2014-zz
Copy link
Author

mouzzampk2014-zz commented Oct 5, 2019

Basically I am not sure which tag I need to use for raspberry pi? This one image: pannal/kitana:latest or is there any different for raspberry pi? Thank you

@pannal
Copy link
Owner

pannal commented Oct 12, 2019

No, please try that tag and report any issues.

@pannal pannal closed this as completed Oct 13, 2019
@pablokbs
Copy link

I can confirm the "latest" tag only points to the amd64 version, are you guys using automatic builds from DockerHub? Because it currently doesn't support buildx ... so the only way to have the armhf being created is to move the build step to another solution (circle CI is a good alternative)

@pannal pannal reopened this Oct 24, 2019
@pannal
Copy link
Owner

pannal commented Oct 24, 2019

Anything I can do here?

@pablokbs
Copy link

Yes, answer this:

are you guys using automatic builds from DockerHub?

If not, how are you building the images?

@pannal
Copy link
Owner

pannal commented Oct 24, 2019

Manually. docker build --rm --pull -t kitana ..

Edit: I never really looked into docker multiarch before. Building for arm right now.

@pablokbs
Copy link

Alright, do you need help with the commands or you've got it?

@pannal
Copy link
Owner

pannal commented Oct 25, 2019

Well, I could use help with CircleCI (which I currently don't use), but currently I'm simply cross-compiling using docker buildx build --rm --pull --platform linux/amd64,linux/arm64,linux/arm/v7 -t pannal/kitana:latest .. Is that enough to cover most of the platforms?

Thank you :)

Edit: libsass takes ages. I tried finding more info, but it seems like it's not possible to use multicore when compiling inside docker using qemu-user, right?

@pannal
Copy link
Owner

pannal commented Oct 25, 2019

Kitana should now available as arm64 and arm7 @mouzzampk2014

@pablokbs
Copy link

I can confirm that it runs fine on a raspberry pi now 👍

kbs@raspberrypi2:~ $ docker run pannal/kitana:0.1.9
Unable to find image 'pannal/kitana:0.1.9' locally
0.1.9: Pulling from pannal/kitana
ffb3a1edd2f5: Pull complete
68e451b65286: Pull complete
b396d1056bcb: Pull complete
21ee8c0d5fd4: Pull complete
ab438d17d846: Pull complete
7caa630204a5: Pull complete
d95e86aff1ad: Pull complete
61330b8cc651: Pull complete
58903357202a: Pull complete
d36182158791: Pull complete
Digest: sha256:3ab80132b1c237e118c725689aafc67e77e5f3a1b2cab55459c1c2e4d10a59c1
Status: Downloaded newer image for pannal/kitana:0.1.9
[25/Oct/2019:14:12:58] ENGINE Bus STARTING
[25/Oct/2019:14:12:58] ENGINE Starting SassCompilerPlugin
[25/Oct/2019:14:12:58] ENGINE Started monitor thread 'UpdateCheck'.
[25/Oct/2019:14:12:58] ENGINE Serving on http://0.0.0.0:31337
[25/Oct/2019:14:12:58] ENGINE Bus STARTED
[25/Oct/2019:14:12:58]  Starting Sass Compile
[25/Oct/2019:14:12:58]  SassCompilerPlugin: Compiling /app/static/sass to /app/static/css
[25/Oct/2019:14:13:02] ENGINE Listening for SIGUSR1.
[25/Oct/2019:14:13:02] ENGINE Listening for SIGHUP.
[25/Oct/2019:14:13:02] ENGINE Listening for SIGTERM.

@pablokbs
Copy link

BTW this is a guide to automatically build your images with CircleCI on each new version.

CircleCI is free for a single project and only 1 concurrent job, which is more than enough for your case

@mouzzampk2014-zz
Copy link
Author

Thank you so much. Working fine :)
Thanks again

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

No branches or pull requests

3 participants