Skip to content
Snippets Groups Projects
Unverified Commit d73d33eb authored by Nicola Corti's avatar Nicola Corti Committed by GitHub
Browse files

Install both JDK 11 and 17 (#203)

parent 694cfefb
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ defaults: &defaults
aliases:
- &build-docker
name: Build Docker Image
no_output_timeout: 20m
no_output_timeout: 30m
command: |
docker build -t react-native-community/react-native .
docker run --rm --name rn-env react-native-community/react-native bin/sh -c "npx envinfo"
......@@ -36,6 +36,7 @@ jobs:
command: git clone https://github.com/facebook/react-native.git
- run:
name: Build React Native
no_output_timeout: 30m
command: docker run --rm --ulimit nofile=10240 -v "$(pwd)/scripts/":/scripts -v "$(pwd)/react-native/":/react-native -w /react-native react-native-community/react-native /bin/sh -c "/scripts/test-react-native-setup.sh"
workflows:
......
......@@ -38,6 +38,8 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \
libgl1 \
libtcmalloc-minimal4 \
make \
# React Native compiles with JDK 11, RN Tester & template with JDK 17
openjdk-11-jdk-headless \
openjdk-17-jdk-headless \
openssh-client \
patch \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment