File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 1
- FROM debian:stable-slim
1
+ FROM openjdk:8
2
2
3
3
LABEL Description="This image provides a base Android development environment for React Native, and may be used to run tests."
4
4
@@ -16,21 +16,18 @@ ENV ADB_INSTALL_TIMEOUT=10
16
16
ENV ANDROID_HOME=/opt/android
17
17
ENV ANDROID_SDK_HOME=${ANDROID_HOME}
18
18
ENV ANDROID_NDK=/opt/ndk/android-ndk-r$NDK_VERSION
19
- ENV JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
20
19
21
20
ENV PATH=${ANDROID_NDK}:${ANDROID_HOME}/emulator:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:/opt/buck/bin/:${PATH}
22
21
23
22
# Install system dependencies
24
- # See https://github.com/debuerreotype/docker-debian-artifacts/issues/24
25
- RUN mkdir -p /usr/share/man/man1 \
26
- && apt-get update -qq && apt-get install -qq -y --no-install-recommends \
23
+ RUN apt update -qq && apt install -qq -y --no-install-recommends \
27
24
apt-transport-https \
28
25
curl \
29
26
build-essential \
30
27
file \
31
28
git \
29
+ openjdk-8-jre \
32
30
gnupg2 \
33
- openjdk-8-jdk \
34
31
python \
35
32
openssh-client \
36
33
unzip \
You can’t perform that action at this time.
0 commit comments