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

doesn't seem to work on raspbian 64 #5

Open
the1gofer opened this issue Mar 2, 2022 · 7 comments
Open

doesn't seem to work on raspbian 64 #5

the1gofer opened this issue Mar 2, 2022 · 7 comments

Comments

@the1gofer
Copy link

the1gofer commented Mar 2, 2022

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

@the1gofer
Copy link
Author

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?

@NaimKabir
Copy link
Owner

NaimKabir commented Mar 2, 2022

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

@the1gofer
Copy link
Author

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

@the1gofer
Copy link
Author

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.

@NaimKabir
Copy link
Owner

@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

@the1gofer
Copy link
Author

Thank you!

@the1gofer
Copy link
Author

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

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

2 participants