Skip to content

Commit

Permalink
Expo-tests: Update docker images and dependencies of test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Aug 12, 2019
1 parent 9508a48 commit d17b3be
Show file tree
Hide file tree
Showing 4 changed files with 2,424 additions and 1,035 deletions.
4 changes: 2 additions & 2 deletions dockerfiles/Dockerfile.expo-android-builder
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list

RUN apt-get update
RUN apt-get install -y nodejs make g++ yarn
RUN apt-get install -y nodejs make g++ yarn rsync

WORKDIR /app/test/expo/features/fixtures/test-app

RUN mkdir -p /app/test/expo/features/fixures/build

RUN yarn global add gulp-cli node-gyp
RUN yarn add bunyan turtle-cli@0.8.6
RUN yarn add bunyan rsync turtle-cli@0.11.1

RUN node_modules/.bin/turtle setup:android

Expand Down
3 changes: 2 additions & 1 deletion test/expo/features/fixtures/test-app/metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ module.exports = {
'react-native': resolve(__dirname, 'node_modules/react-native'),
'react': resolve(__dirname, 'node_modules/react'),
'@babel/runtime': resolve(__dirname, 'node_modules/@babel/runtime'),
'promise': resolve(__dirname, 'node_modules/promise')
'promise': resolve(__dirname, 'node_modules/promise'),
'@unimodules/core': resolve(__dirname, 'node_modules/@unimodules/core')
}
}
}
Loading

0 comments on commit d17b3be

Please sign in to comment.