Skip to content

Commit

Permalink
Fix docker mounts
Browse files Browse the repository at this point in the history
  • Loading branch information
cortinico committed Sep 7, 2022
1 parent 5d2284a commit 71f3de7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,13 @@ jobs:
- run: *build-docker
- run:
name: Check if Emulator (Headless) starts
command: docker run --rm -v ~/scripts:/scripts react-native-community/react-native /bin/sh -c "/scripts/test-emulator-headless.sh"
command: docker run --rm -v "${CIRCLE_WORKING_DIRECTORY}/scripts/":/scripts react-native-community/react-native /bin/sh -c "/scripts/test-emulator-headless.sh"
- run:
name: Checkout React Native
command: git clone https://github.com/facebook/react-native.git
- run:
name: Build React Native
command: docker run --rm --ulimit nofile=10240 -v ~/scripts:/scripts -v ~/react-native:/react-native -w /react-native react-native-community/react-native /bin/sh -c "/scripts/test-react-native-setup.sh"

command: docker run --rm --ulimit nofile=10240 -v "${CIRCLE_WORKING_DIRECTORY}/scripts/":/scripts -v "${CIRCLE_WORKING_DIRECTORY}/react-native/":/react-native -w /react-native react-native-community/react-native /bin/sh -c "/scripts/test-react-native-setup.sh"

workflows:
version: 2
Expand Down

0 comments on commit 71f3de7

Please sign in to comment.