Embarcadero / paserver-docker

Docker script for RAD Studio Linux deployment via PAServer
https://hub.docker.com/r/radstudio/pa-radserver
Other
34 stars 13 forks source link

Dont work on mac m3 (arm) #24

Open Lostsoulfl opened 1 month ago

Lostsoulfl commented 1 month ago

Hello

I'm trying to use paserver in mac m3, but debug mode is not working.

When I start delphi 12.1 app, the got the error "unable to create process: ''A' packet returned an error -1"

Its NOT working:

Tested with docker option --platform linux/amd64 too.

It's working

I can deploy and start app on docker in all images, but cant debug.

The problems seems to be in mac M3 arm.

Delphi 12.1 PAServer 23.0 (updated version to Delphi 12.1)

Can you help me?

Thanks Fabio Lobo

azapater commented 1 month ago

Thanks for such a detailed report, Fabio.

Currently, our Delphi Linux compiler is only compatible with AMD64, which means that PAServer is not natively available for Linux ARM. That makes Docker running on Apple Silicon (theoretically) incompatible with this PAServer image. We provide a specific PAServer version compatible with Apple Silicon, but of course, that's for compiling MacOS/iOS binaries, not Linux ones.

Is your OCI VPS Ampere or AMD based? If it's Ampere, I recommend you try with an AMD one if possible.