Railway cant execute my binary

Hey! I'm deploying to railway via a Dockerfile which as an ENTRYPOINT has /app/main, main is my go build executeable. It used to work just fine months ago, didn;t deployed for a while and now when deploying i'm getting: /bin/sh: ./main: not found or [FATAL tini (7)] exec /app/main failed: No such file or directory I checked the pwd and ls before executing the binary and the binary is indeed in the directory but it just cant find it for any reason. Any idea why? :)
4 Replies
Percy
Percy8mo ago
Project ID: bfce3811-7229-4d5f-97ca-784a19bdf21d
Moonsteroid
MoonsteroidOP8mo ago
bfce3811-7229-4d5f-97ca-784a19bdf21d
Moonsteroid
MoonsteroidOP8mo ago
Thats the ENTRYPOINT rn: ENTRYPOINT pwd && ls -lisa && ls -lisa /app && ./main Output of it:
No description
Moonsteroid
MoonsteroidOP8mo ago
OK found the issue, some of my package was using a CGO_ENABLED package (go-sqlite3) which broke the whole thing.. closing this :)
Want results from more Discord servers?
Add your server