thyrlian / AndroidSDK

🐳 Full-fledged Android SDK Docker Image
Apache License 2.0
1.26k stars 218 forks source link

Bundler #55

Closed alindaj6 closed 3 years ago

alindaj6 commented 3 years ago

Add bundler for working with fastlane

thyrlian commented 3 years ago

First of all, thanks @alindaj6 for your contribution, this PR fully complies with the contributing guide, and all checks have passed.

Before considering merging it, I'd like to ask about the intention and the approach.

As you've described, it's for the sake of fastlane. Fastlane has been there for years, getting quite popular and mature, especially for iOS development. Though I'm not sure how many developers use fastlane for Android development, supporting it would be definitely great!

Regarding the approach, I've checked the image you've created, it includes ruby environment and bundler gem only, without fastlane. Here are some facts we have to think about:

Bearing in mind the 2nd point - "countless versions of fastlane", I've come up with another idea, what about providing a Dockerfile instead of a built image? For instance, if we leave a placeholder for fastlane version in the Dockerfiler, which allows developers to pass any certain version of fastlane as a build argument. In this way, we can still "provide" a complete image with fastlane, while leave the freedom to developers regarding the fastlane version. All they have to do is to trigger the build command.

What do you think?