javinizer / Javinizer

(NSFW) Organize your local Japanese Adult Video (JAV) library
MIT License
608 stars 63 forks source link

Plans To Support arm/v7? #297

Closed Emilaia closed 3 years ago

Emilaia commented 3 years ago

Current Behavior

Whenever you attempt to build with the docker image on a raspberry pi, you'll be greeted with the following whenever the container starts its execution: standard_init_linux.go:228: exec user process caused: exec format error Which of course, stems from an incompatible image.

So I just wanted to ask, are there were any plans to add images for arm/v7?

Your Environment

jvlflame commented 3 years ago

Hey there, I tried setting up an arm-compatible image a while back in #276 , but unfortunately I couldn't get it to run properly for a couple reasons:

  1. I don't have a arm64 environment to properly test on
  2. The PowerShell Universal runtime that Javinizer runs on (v1.5.13) requires a more recent version (v2+) to use the arm64-compatible version which I probably don't have the motivation to migrate to
  3. It's possible there are bugs/breaking changes on the current version of the arm64 PowerShell Universal runtime

Unfortunately I didn't save the most recent arm64 dockerfile I was testing with but if you want to try building it yourself locally you can take a look at the current Dockerfile and adapting it with an arm64-compatible image and pointing the PowerShell Universal download to the latest version https://imsreleases.blob.core.windows.net/universal/production/2.2.1/Universal.linux-arm64.2.2.1.zip.

Otherwise I would recommend just sticking with running on either Windows or Docker on a linux system.

Emilaia commented 3 years ago

Understandable, thank you.