Expo Android Local Build Environment π Meet eas-like-local-builder: a Docker image built to streamline local Expo Android app builds, mirroring the Expo Application Services (EAS) environment for local builds π― Why Use This? π€ EAS cloud building can be costy, local builds require dependencies. This image tries to mimic EAS' ubuntu-22.04-jdk-17-ndk-r26b Android build server image in your local (or CI/CD) environment.π₯ Get Started π οΈ Step 1: Grab the Image π¦ Pull It : docker pull erayalakese/eas-like-local-builder Or Build It Yourself: docker build -t eas-like-local-builder . Step 2: Run It πββοΈ Defaults to eas build --platform android --local with the development profile: docker container run -v /path/to/your/project:/app -w /app -it eas-like-local-builder Switch Profiles π Use the -e flag for a custom profile like production : docker container run -e PROFILE=production -v /path/to/your/project:/app -w /app -it eas-like-local-builder Control VCS Behavior π« To skip version control system (VCS) checks during the build (handy if youβre working without a Git repo), set EAS_NO_VCS : docker container run -e EAS_NO_VCS=1 -v /path/to/your/project:/app -w /app -it eas-like-local-builder Override the Default Command βοΈ If you ever need to run a different command (e.g., eas login or a build with a different profile), youβll need to override the CMD at runtime. You can do this by appending the new command to the docker run instruction, like: docker container run -v /path/to/your/project:/app -w /app -it eas-like-local-builder eas login Explanation of Flags π -v /path/to/your/project:/app : Mounts your project directory to /app inside the container. π : Mounts your project directory to inside the container. π -w /app : Sets the working directory to /app . π : Sets the working directory to . π -it : Runs the container interactively for commands that require input (e.g., EAS login). π₯οΈ : Runs the container interactively for commands that require input (e.g., EAS login). π₯οΈ -e PROFI...
First seen: 2025-04-22 23:42
Last seen: 2025-04-23 00:43