Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Docker Android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zandor Smith
Docker Android
Commits
d73d33eb
Unverified
Commit
d73d33eb
authored
1 year ago
by
Nicola Corti
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Install both JDK 11 and 17 (#203)
parent
694cfefb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.circleci/config.yml
+2
-1
2 additions, 1 deletion
.circleci/config.yml
Dockerfile
+2
-0
2 additions, 0 deletions
Dockerfile
with
4 additions
and
1 deletion
.circleci/config.yml
+
2
−
1
View file @
d73d33eb
...
...
@@ -8,7 +8,7 @@ defaults: &defaults
aliases
:
-
&build-docker
name
:
Build Docker Image
no_output_timeout
:
2
0m
no_output_timeout
:
3
0m
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
:
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
2
−
0
View file @
d73d33eb
...
...
@@ -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 \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment