-
Notifications
You must be signed in to change notification settings - Fork 64
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
Docker containers for arm platforms #461
Comments
Sal hasn't been tested at all on Arm. If you want to do a manual installation first and verify it works that is the first step. Also, you should not use the postgres container for anything more than a demo. It has not been updated for years.
|
Thank you. So I set up a Linux VM on an M2 Mac in VMWare Fusion to test this and Sal seems to run just fine. I was able to enrol an older macOS 12 Client VM and collect some data and everything seemed to work as expected. The test server setup (I followed the instructions for Ubuntu 16): Ubuntu Server 22.04.4 LTS (GNU/Linux 5.15.0-113-generic aarch64) In only ran into minor issues while installing the python packages via requirements.txt: The PyYAML and gevent packages were throwing an error (see below) but I found a workaround here https://stackoverflow.com/questions/77490435/attributeerror-cython-sources (via yaml/pyyaml#601): After installing these packages first
another
finished without errors.
I get that also running the postgres-sal container in production is less than ideal, but I have been running both Sal and the old postgres-sal as containers for quite a while now without any issues. And for reasons™ *) beyond running Sal in Docker being pretty convenient, obviously, if possible, I would like to continue doing so. (* two of the reasons being running a relatively small scale setup and running Sal on a shared host) So, how would I go from here? Example pip error:
|
As I have no need to run this on Arm, I am unable to commit any time to getting this working. If you can get it all working and commit to supporting it in the future, I will accept a pull request for it. My container infrastructure is still x86 so until that changes, I cannot support this. I will leave this issue open with the help wanted tag on. |
I dont feel confident I could/should maintain this (I was not even confident I would get this far thb), but I can report that I have successfully managed to
I was not yet able to dump an existing db from the old 9.6 container, upgrade the db and restore it to the 15.2 container. So in case anyone else might want to keep going from here: Dockerfile-postgres-arm64.txt
|
I was wondering if it is possible to build containers for sal and postgres-sal for arm64 platforms in order to host the whole thing on modern/efficient hardware. I would build the containers myself if I know how to do it.
Ideally, ready made containers for arm64 would be provided in addition to the amd64 containers, but of course I'd be willing to do some work myself.
The text was updated successfully, but these errors were encountered: