Skip to content

Commit 806be0e

Browse files
committed
Revert "makes dockerfile not bound to ubuntu 22.04 and bound to amd64 architecture (#242)"
This reverts commit 6c7d54f.
1 parent 5e0be35 commit 806be0e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:24.04
1+
FROM ubuntu:22.04
22

33
LABEL Description="This image provides a base Android development environment for React Native, and may be used to run tests."
44

@@ -20,6 +20,7 @@ ENV ANDROID_HOME=/opt/android
2020
ENV ANDROID_SDK_ROOT=${ANDROID_HOME}
2121
ENV ANDROID_NDK_HOME=${ANDROID_HOME}/ndk/$NDK_VERSION
2222

23+
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
2324
ENV CMAKE_BIN_PATH=${ANDROID_HOME}/cmake/$CMAKE_VERSION/bin
2425

2526
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 \
3334
git \
3435
g++ \
3536
gnupg2 \
36-
libc++1 \
37+
libc++1-11 \
3738
libgl1 \
3839
libtcmalloc-minimal4 \
3940
make \
4041
openjdk-17-jdk-headless \
4142
openssh-client \
4243
patch \
4344
python3 \
45+
python3-distutils \
4446
rsync \
4547
ruby \
4648
ruby-dev \

0 commit comments

Comments
 (0)