File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:24 .04
1
+ FROM ubuntu:22 .04
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
@@ -20,6 +20,7 @@ ENV ANDROID_HOME=/opt/android
20
20
ENV ANDROID_SDK_ROOT=${ANDROID_HOME}
21
21
ENV ANDROID_NDK_HOME=${ANDROID_HOME}/ndk/$NDK_VERSION
22
22
23
+ ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
23
24
ENV CMAKE_BIN_PATH=${ANDROID_HOME}/cmake/$CMAKE_VERSION/bin
24
25
25
26
ENV PATH=${CMAKE_BIN_PATH}:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/emulator:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${PATH}
@@ -33,14 +34,15 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \
33
34
git \
34
35
g++ \
35
36
gnupg2 \
36
- libc++1 \
37
+ libc++1-11 \
37
38
libgl1 \
38
39
libtcmalloc-minimal4 \
39
40
make \
40
41
openjdk-17-jdk-headless \
41
42
openssh-client \
42
43
patch \
43
44
python3 \
45
+ python3-distutils \
44
46
rsync \
45
47
ruby \
46
48
ruby-dev \
You can’t perform that action at this time.
0 commit comments