taskwarrior-webui icon indicating copy to clipboard operation
taskwarrior-webui copied to clipboard

Consider adding armv7 docker configuration

Open bergercookie opened this issue 4 years ago • 4 comments

It would be nice to also offer docker images for arm platforms. I wanted to launch this server on my raspberry pi and serve it on my local network so that I can potentially access my tasks via my phone when connected to the same network.

Currently this isn't possible because the docker registry only has amd64 images.

bergercookie avatar Sep 27 '21 07:09 bergercookie

Hello, I have changed the build workflow to GitHub actions. It is now able to build the armv7 and arm64 docker images. Feel free to reopen it if there's any problem.

DCsunset avatar Sep 28 '21 00:09 DCsunset

This does not seem to work.

When I run the container on my raspberry pi, I get a 502 (bad gateway) error. When I run the docker container without detached mode, I get the following error:

m@pi:~ $ docker run -p 8081:80 --name taskwarrior-webui -v $HOME/test/.taskrc:/.

taskrc -v $HOME/test/.task:/.task dcsunset/taskwarrior-webui                                  
                                                                                              
                                                                                              
#                                                                                             
# Fatal error in , line 0                                                                     
# unreachable code                                                                            
#                                                                                             
#                                                                                             
#                                                                                             
#FailureMessage Object: 0xffb3d5dc

matthiascarlier avatar Oct 12 '21 11:10 matthiascarlier

I'm using GitHub actions and QEMU to build the armv7 image. It seems to be the same issue here: https://github.com/docker/buildx/issues/521.

I currently have no idea how to fix it. If anyone knows some workaround, please comment here.

DCsunset avatar Oct 13 '21 14:10 DCsunset

others have the same problem, but I did not find any solutions.

https://forums.docker.com/t/armv7-docker-image-created-with-qemu-action-causes-illegal-instruction/103951 https://github.com/docker/setup-qemu-action/issues/17

matthiascarlier avatar Oct 14 '21 12:10 matthiascarlier