Skip to content

tohure/Fastlane-Android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Fastlane for Android with Docker

fastlane-docker

Docker + Fastlane + Android

Dockerfile for run fastlane image with config only for deploy Android Apps based in a Ubuntu Image

Setup

For use this image, change your Android SDK path in [YOUR HOME ANDROID PATH] (Line 89), for something like:

  • /Users/USER/Library/Android/ (In Mac)
  • /home/USER/Android/ (In some Linux)
  • Or your /path/path/AndroidSDK

You can use the path indicate in your Android Project.

Remember that you can add or change the android api levels that you want to download. For this example, only version 25 is used. (Line 95)

Build

docker build . -t fastlane-docker --build-arg USER_ID=$( id -u $USER ) --build-arg GROUP_ID=$(id -g $USER) --build-arg USER=$(whoami) (Or the name you like)

Run

docker run -ti -v /YOUR_ANDROID_PROJECT_PATH/:/usr/local/share fastlane-docker bash

Test

In the bash of your container you can run fastlane test to "test" that fastlane works correctly.

Remember that only the first time, the command may take a little time, depending on your internet connection, since fastlane downloads additional libraries such as graddle in the case of Android.

Releases

No releases published

Packages

No packages published