mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 12:45:37 +08:00
migrate ci to official docker (#21477)
Summary: Simplify current build and offer it to community as official docker. I have also created an [rfc](https://github.com/react-native-community/discussions-and-proposals/pull/36). pass all current ci. none [GENERAL] [INTERNAL] [CI] - migrate ci to official docker Pull Request resolved: https://github.com/facebook/react-native/pull/21477 Differential Revision: D13801696 Pulled By: cpojer fbshipit-source-id: fa235cf21ab5af2c87eb3c1a14788fab01c71ccf
This commit is contained in:
committed by
Facebook Github Bot
parent
988366a417
commit
9351dd6c69
@@ -140,8 +140,7 @@
|
||||
"flow-check-android": "flow check --flowconfig-name .flowconfig.android",
|
||||
"lint": "eslint .",
|
||||
"prettier": "prettier \"./**/*.js\" --write",
|
||||
"docker-setup-android": "docker pull reactnativeci/android-base:latest",
|
||||
"docker-build-android-base": "docker build -t reactnativeci/android-base -f ContainerShip/Dockerfile.android-base .",
|
||||
"docker-setup-android": "docker pull reactnativecommunity/react-native-android",
|
||||
"docker-build-android": "docker build -t reactnativeci/android -f ContainerShip/Dockerfile.android .",
|
||||
"test-android-run-instrumentation": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash ContainerShip/scripts/run-android-docker-instrumentation-tests.sh",
|
||||
"test-android-run-unit": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash ContainerShip/scripts/run-android-docker-unit-tests.sh",
|
||||
|
||||
Reference in New Issue
Block a user