mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 11:57:46 +08:00
Improve docker
Summary: Improve current docker by * Make android build version and tools version config easily, and bump them to 26. * use less file layer * fix current docker error (the maintainer line) * fix typo in package.json Since ci on master branch still failed, and I run test the docker build. And in the process I found buck related config still is 23. none [GENERAL] [ENHANCEMENT] [CI] - Improve docker Closes https://github.com/facebook/react-native/pull/19354 Differential Revision: D8148376 Pulled By: hramos fbshipit-source-id: 8f965860487467c1a219e64588ff3000d571ddc1
This commit is contained in:
committed by
Facebook Github Bot
parent
c09d509c2b
commit
6d2ed2c170
@@ -6,7 +6,8 @@
|
||||
# or run tests, as well as unit test failures.
|
||||
FROM reactnativeci/android-base:latest
|
||||
|
||||
LABEL Description="This image prepares and runs React Native's Android tests." maintainer "Héctor Ramos <hector@fb.com>"
|
||||
LABEL Description="This image prepares and runs React Native's Android tests."
|
||||
LABEL maintainer="Héctor Ramos <hector@fb.com>"
|
||||
|
||||
# set default environment variables
|
||||
ENV GRADLE_OPTS="-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=\"-Xmx512m -XX:+HeapDumpOnOutOfMemoryError\""
|
||||
|
||||
Reference in New Issue
Block a user