React native builder based on archlinux
8.9K
React Native builder (android) based on Arch Linux. Android platforms and sdk build tools for most popular react-native modules included.
There are two versions of builder: -min and full which contains more android platforms and sdk build tools.
If you are using minimal image check 'Android support library' section first.
git clone https://.../myproject.git
cd myproject
yarn
cd android
./gradlew assembleRelease
Contains only required packages for building basic projects with no third-party modules. In most cases you will need to install extra platforms and sdk build-tools with pacman or use this image as basic for your own image.
All package versions are recent for building date.
You can install extra sdk build tools with pacman:
pacman --noconfirm -Sy android-sdk-build-tools-25.0.1
(x.0.0 is named android-sdk-build-tools-x)
Support library is available in Google maven repository now. Simply add this repository to android/build.gradle:
allprojects {
repositories {
...
maven { url 'https://maven.google.com' }
...
}
}
...or install with pacman:
pacman --noconfirm -Sy android-support-repository
Install with pacman:
pacman --noconfirm -Sy android-google-repository
Contains much more android platforms, sdk build tools and compilers for npm native modules.
All package versions are recent for building date.
You can install extra sdk build tools with pacman:
pacman --noconfirm -Sy android-sdk-build-tools-25.0.1
(x.0.0 is named android-sdk-build-tools-x)
You should use fastlane. It's really cool!
Arch Linux packages can be found here
pacman --noconfirm -Sy android-udev
Some extra packages for mobile development (android-ndk etc.) are available here
pacman --noconfirm -Sy react-native-cli android-ndk
Content type
Image
Digest
Size
1.9 GB
Last updated
about 8 years ago
docker pull farwayer/react-native