Fix Docker builds (armv7 && arm64)#145
Conversation
|
I had given up on dockers (that I know very little about) after running into problems building after I included a markdown add-on for the offline help system. Does this now work? |
|
@madgrizzle could you be more specific? I detailed my testing in the PR description (and included a screenshot). If you'd like me to test other things, I'll need a little hand-holding. |
|
When webcontrol was first released a while back, it was released as a docker container for the RPI. It worked but then not many people used it because they didn't want to use an RPI.. they had linux, or windows, or mac, etc. So I looked at creating a version using pyinstaller and got it to work. I then focused on doing those releases and the docker version lagged behind. Then, at one point, I added a markdown module to allow me to create the off-line help system and when I went to build the docker, it kept failing and I couldn't figure out how to fix it. So I just stopped working on it and 'deprecated' the docker builds. So my question is does this docker version support the off-line help system (i.e., go to Help->Off-line Help)? Keep in mind I know very little about docker (I didn't create the original dockerfile.. I had someone helping at that time). |
|
Awesome. Wish you had been around a year ago when I gave up on it all. Any chance you can submit something that modifies the README.md file that explains how a user can use your docker version? Is there a specific command line that's needed to run it? The whole WebMCP portion is definitely deprecated and not coming back. |
|
Sure! Happy to :) And... having this much sysadmin experience is... a dubious honor. It's a special sort of masochism that has allowed me to become passably good at these things 😛 edit I'm going to spend today calibrating my Maslow and make sure I didn't miss anything here before I wrap up the README and merge. |
|
Sounds good.. let me know if you want to join the 'org' and I'll be happy to invite you. We just created this organization and moved webcontrol out of my personal repository with hopes of getting more people, hopefully much more knowledgeable than me, involved with webcontrol. |
madgrizzle
left a comment
There was a problem hiding this comment.
This works for me. I merged it locally and ran it on the RPI and didn't have any issues with websocket communications or webpages loading. Thanks!
|
Hey, I did this all through the command line.. awesome. My github "level" increased by 1. |
|
Haha, cool! I will definitely take you up on joining the I only got as far as finishing attaching my sled yesterday; I'm headed to the garage now to start calibration; I just finished reading through your whole calibration thread... |
|
ANY improvements are welcome.. to anything. I'm always looking for improvement and take constructive criticism well (or at least I think I do). |
|
@zaneclaes Thanks or doing this - one more thing removed from my list! |
|
@gb0101010101 I'm already working on Travis builds for this; I could also add the Docker image as a build artifact as well. |
|
Thanks for taking that, @emilecantin — lmk if you need any help; it's been a good 6 years since I last used Travis, though. The |
|
@emilecantin Yeah I would be great if we auto build and publish docker images. |

You can test this PR with the docker images published at:
inzania/web-control:armv7(tested on Rasbpian Buster Lite)inzania/web-control:amd64(tested on Ubuntu 18.04 && Mac OSX 10.15.4)(n.b., may still be uploading; I'm on DSL and it's slow).
Thanks, maintainers, for putting this together. Just got my Maslow this week and came across your project this morning thanks to this thread — I already run a k8s cluster at my house, so wanted to deploy this via a container ;)
I assume that the fact that I've been able to connect the Maslow USB (and my camera) means it is working correctly. However, I'm just about to start calibration (just built my frame yesterday)... 😅

Oh, and for the K8s fans out there...