Get Started
Feature Preview

Build server infrastructure

This document describes the current build infrastructure as of December 15, 2020. It is likely to change over time, and this document will be updated.

Configuring build environment

Images for each platform have one specific version of Node, yarn, CocoaPods, Xcode, Ruby, Fastlane, and so on. You can override some of those values in the eas.json file or if it's not supported you can use the hooks mechanism to install or update any system dependencies with apt-get or brew before the build starts, but take into account that those customization options are applied during the build and will increase your build times.
When selecting an image for the build you can use the full name provided below or one of the aliases (default, latest).
  • The use of a specific name guarantees a consistent environment with only small updates.
  • default alias will be assigned to the environment that most closely resembles the configuration used for Expo SDK development.
  • latest alias will be assigned to the image with the most up to date versions of the software.

  • Android workers run on Kubernetes in an isolated environment
    • Every build gets its own container running on a dedicated Kubernetes node
    • Build resources: 4 CPU, 16 GB RAM (14 GB after k8s overhead)
  • npm cache deployed with Kubernetes. Learn more
  • Maven cache deployed with Kubernetes. Learn more
  • Global gradle configuration in ~/.gradle/gradle.properties:
    org.gradle.jvmargs=-Xmx14g -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
  • ~/.npmrc
  • ~/.yarnrc.yml
      - "*"
    npmRegistryServer: "http://npm-cache-service.worker-infra-production.svc.cluster.local:4873"

  • Docker image: ubuntu:bionic-20201119
  • NDK 19.2.5345600
  • Node.js 14.15.1
  • Yarn 1.22.10

  • iOS worker VMs run on Macs Pro 6.1 in an isolated environment
    • Every build gets its own fresh macOS VM
    • Hardware: Intel(R) Xeon(R) CPU E5-2697 (12 core/24 threads), 64 GB RAM
    • Build resource limits: 6 cores, 8 GB RAM
  • npm cache. Learn more
  • ~/.npmrc
  • ~/.yarnrc.yml
      - "*"
    npmRegistryServer: "registry="

  • macOS Catalina 10.15.4
  • Xcode 12.1 (12A7403)
  • Node.js 14.15.1
  • Yarn 1.22.10
  • fastlane 2.170.0
  • CocoaPods 1.10.1
  • Ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]

  • macOS Catalina 10.15.7
  • Xcode 12.4 (12D4e)
  • Node.js 14.15.1
  • Yarn 1.22.10
  • fastlane 2.178.0
  • CocoaPods 1.10.1
  • Ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin19]