Skip to content

Commit

Permalink
Bump react-native-android docker container to 8.0 (facebook#36954)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#36954

This bumps the docker container we use to the latest major.

Changelog:
[Internal] [Changed] - Bump react-native-android docker container to 8.0

Reviewed By: cipolleschi

Differential Revision: D45083111

fbshipit-source-id: 44285e3e9af9be352c23bb1066fed3c35f51fb29
  • Loading branch information
cortinico authored and facebook-github-bot committed Apr 18, 2023
1 parent abddf14 commit 7495883
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/Dockerfiles/Dockerfile.android
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
# and build a Android application that can be used to run the
# tests specified in the scripts/ directory.
#
FROM reactnativecommunity/react-native-android:7.0
FROM reactnativecommunity/react-native-android:8.0

LABEL Description="React Native Android Test Image"
LABEL maintainer="Héctor Ramos <hector@fb.com>"
LABEL maintainer="Meta Open Source <opensource@meta.com>"

# set default environment variables
ENV GRADLE_OPTS="-Dorg.gradle.daemon=false -Dfile.encoding=utf-8 -Dorg.gradle.jvmargs=\"-Xmx512m -XX:+HeapDumpOnOutOfMemoryError\""
Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ executors:
reactnativeandroid:
<<: *defaults
docker:
- image: reactnativecommunity/react-native-android:7.0
- image: reactnativecommunity/react-native-android:8.0
resource_class: "xlarge"
environment:
- TERM: "dumb"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"prettier": "prettier --write \"./**/*.{js,md,yml,ts,tsx}\"",
"format-check": "prettier --list-different \"./**/*.{js,md,yml,ts,tsx}\"",
"update-lock": "npx yarn-deduplicate",
"docker-setup-android": "docker pull reactnativecommunity/react-native-android:7.0",
"docker-setup-android": "docker pull reactnativecommunity/react-native-android:8.0",
"docker-build-android": "docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .",
"test-android-run-instrumentation": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh",
"test-android-run-unit": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh",
Expand Down

0 comments on commit 7495883

Please sign in to comment.