Docker image for React Native Android development with Node22, Java 17, AndroidSDK 34, and Fastlane.
252
This Docker image has been designed to provide a complete environment for building and deploying React Native Android applications. It contains all the necessary tools and dependencies to compile, test, and publish React Native apps to the Google Play Store through Bitbucket Pipelines.
The image is based on:
reactnativecommunity/react-native-android:latest
This is an official image maintained by the React Native community, which already includes most of the basic tools for Android development.
The image configures the following environment variables to facilitate development:
ANDROID_HOME=/opt/androidANDROID_SDK_ROOT=/opt/androidANDROID_NDK_HOME=/opt/android/ndk/25.1.8937393JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64CMAKE_BIN_PATH=/opt/android/cmake/3.22.1/binPATH configured to include all necessary toolsThe image is referenced in the bitbucket-pipelines.yml file as:
image: orustecnologia/react-native-android-pipeline:1.0.3
And is optimized for use with the following caches:
~/.npm)~/.cache/yarn)~/.gradle/caches and ~/.gradle/wrapper)/opt/android-sdk)The image comes with all the tools needed to:
./gradlew bundleProductionRelease)fastlane upload_bundle_internal)This image was specifically created to meet the build requirements of React Native Android applications, with a focus on optimization for CI/CD environments such as Bitbucket Pipelines. It combines community best practices with specific optimizations to ensure fast and reliable builds.
Content type
Image
Digest
sha256:00ddd228e…
Size
1.4 GB
Last updated
over 1 year ago
docker pull orustecnologia/react-native-android-pipeline:1.0.3