FeudalTactics icon indicating copy to clipboard operation
FeudalTactics copied to clipboard

Build the application inside a Docker container

Open NicolasToussaint opened this issue 1 year ago • 4 comments

I would like to build my own APK files inside Docker, but I'm struggling to build an image that successfuly executes the build_release.sh script.

Has anyone come up with a working Dockerfile ?

NicolasToussaint avatar Oct 28 '24 17:10 NicolasToussaint

Any error message? The issue might be that the file in the repo is not executable. Try chmod +x first if you haven't.

Sesu8642 avatar Oct 28 '24 19:10 Sesu8642

Any update on this?

Sesu8642 avatar Dec 23 '24 20:12 Sesu8642

Sorry @Sesu8642, I still would like to do this but had little time recently. My problem lies at the very start ... not sure how to build the Dockerfile at all. I was wondering if anyone had a Dockerfile to share.

NicolasToussaint avatar Dec 27 '24 08:12 NicolasToussaint

I do not have a Dockerfile unfortunately but maybe these resources can be useful to you. Basically all you should need is a JDK for the desktop build and the Android SDK. I wrote down some instructions here. There is also the GitHub CI which uses container images already. Check out this file for more details.

Sesu8642 avatar Dec 27 '24 10:12 Sesu8642