Skip to content

Commit 7f1297b

Browse files
authored
Add NDK HOME ENV (#28)
Signed-off-by: gengjiawen <[email protected]>
1 parent a4b0d26 commit 7f1297b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FROM openjdk:8-slim
22

33
LABEL Description="This image provides a base Android development environment for React Native, and may be used to run tests."
4-
LABEL maintainer="Héctor Ramos <[email protected]>"
54

65
# set default build arguments
76
ARG SDK_VERSION=sdk-tools-linux-3859397.zip
@@ -18,6 +17,7 @@ ENV ANDROID_HOME=/opt/android
1817
ENV ANDROID_SDK_HOME=${ANDROID_HOME}
1918
ENV PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools
2019
ENV ANDROID_NDK=/opt/ndk/android-ndk-r$NDK_VERSION
20+
ENV ANDROID_NDK_HOME=/opt/ndk/android-ndk-r$NDK_VERSION
2121
ENV PATH=${PATH}:${ANDROID_NDK}
2222

2323
# install system dependencies

0 commit comments

Comments
 (0)