NaimKabir/semantic-mediawiki

doesn't seem to work on raspbian 64

Opened this issue · 7 comments

doesn't seem to work on raspbian 64 getting on repeat:

tandard_init_linux.go:219: exec user process caused: exec format error
mw           | standard_init_linux.go:219: exec user process caused: exec format error
mw           | standard_init_linux.go:219: exec user process caused: exec format error
mw           | standard_init_linux.go:219: exec user process caused: exec format error
mw           | standard_init_linux.go:219: exec user process caused: exec format error
mw           | standard_init_linux.go:219: exec user process caused: exec format error

my googling said this may have to do with me running on arm64, but docker hub seems to say it was built for that

Actually I just saw that it was for AMD64, not ARM. I don's suppose you could share the docker file so I could try to build one for arm?

Hey @the1gofer — here's how the current code works:

  • In the Bazel WORKSPACE we pull a base amd64 image from dockerhub here
  • In the container BUILD file we do a bunch of commands here to install everything we need
  • We finally publish the modified docker image with the correct installs here

Conceivably those steps could be repeated with an ARM base image pulled from the mediawiki docker repo!

Feel free try a merge request to do that—if not, I'll try getting to this on the weekend. Bear in mind this code is heavily templated—you should be writing template files that generate the Bazel files that actually are executed. These are kinda silly to think through—happy to help you with this if you want to try writing it up and merging to this project

I'm pretty new to docker, but I'll give it a shot.

I don't have any experince with bazel. I'm just learning how to use docker, so this is probably ab bit much for me.

@the1gofer no worries—I'll add some functionality around extending my code to allow for different types of base images soon (a few days). I'll cc you so you can follow along for the future, if the need arises.

This isn't an urgent need for you, hopefully? Something will prob be up by Sat/Sun

Thank you!

I tried to make an image on my own. I kept running into problems getting composer to update the container with symanticmediawiki.