Skip to content

Commit d73d33e

Browse files
authored
Install both JDK 11 and 17 (#203)
1 parent 694cfef commit d73d33e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defaults: &defaults
88
aliases:
99
- &build-docker
1010
name: Build Docker Image
11-
no_output_timeout: 20m
11+
no_output_timeout: 30m
1212
command: |
1313
docker build -t react-native-community/react-native .
1414
docker run --rm --name rn-env react-native-community/react-native bin/sh -c "npx envinfo"
@@ -36,6 +36,7 @@ jobs:
3636
command: git clone https://github.com/facebook/react-native.git
3737
- run:
3838
name: Build React Native
39+
no_output_timeout: 30m
3940
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"
4041

4142
workflows:

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \
3838
libgl1 \
3939
libtcmalloc-minimal4 \
4040
make \
41+
# React Native compiles with JDK 11, RN Tester & template with JDK 17
42+
openjdk-11-jdk-headless \
4143
openjdk-17-jdk-headless \
4244
openssh-client \
4345
patch \

0 commit comments

Comments
 (0)