Skip to content

Commit 6c7d54f

Browse files
authored
makes dockerfile not bound to ubuntu 22.04 and bound to amd64 architecture (#242)
1 parent 5bf497e commit 6c7d54f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:24.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,7 +20,6 @@ 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
2423
ENV CMAKE_BIN_PATH=${ANDROID_HOME}/cmake/$CMAKE_VERSION/bin
2524

2625
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}
@@ -34,15 +33,14 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \
3433
git \
3534
g++ \
3635
gnupg2 \
37-
libc++1-11 \
36+
libc++1 \
3837
libgl1 \
3938
libtcmalloc-minimal4 \
4039
make \
4140
openjdk-17-jdk-headless \
4241
openssh-client \
4342
patch \
4443
python3 \
45-
python3-distutils \
4644
rsync \
4745
ruby \
4846
ruby-dev \

0 commit comments

Comments
 (0)