In this example, you will use cloud-native build to package your React Native project, build an Android app, and publish it as a release.
FROM mobiledevops/android-sdk-image:34.0.1 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get install -y curl gnupg && \ curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \ apt-get install -y nodejs RUN npm install --global yarn
The build process uses an image containing the Android SDK and Node.js environment. The dependency image used in this project is built using the above Dockerfile. You can build an image suitable for your version.
cnb-init-from https://cnb.cool/hakurei/rn-demo.git