Situation: I've got this console .exe that I was hoping to run using Wine in an AWS Lambda function. I've deployed the function as a Docker container based on the AWS Lambda base image for Python, everything is working as expected except that Wine always crashes when the function runs on AWS. I've gotten it to work fine on my local computer, but when I upload the container and hook it up to the Lambda, it crashes and I get a
file in the /tmp directory and another one shows up each time it tries to run, which I'm guessing is a core dump after a segfault or something.
One thing about AWS is that only the /tmp directory is writable to running Lambda containers, that wouldn't have something to do with it, would it? And what could I do if that is part of the problem? I've set WINEPREFIX to /tmp but I'm not sure if that would solve it.