File tree Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 11FROM ubuntu:24.04
22
3- RUN apt-get update && apt-get install --assume-yes --no-install-recommends \
4- build-essential npm curl \
5- g++-aarch64-linux-gnu \
6- libc6-dev-arm64-cross git clang
3+ RUN apt-get update && \
4+ apt-get install --assume-yes --no-install-recommends \
5+ build-essential pkg-config clang \
6+ g++-aarch64-linux-gnu libc6-dev-arm64-cross \
7+ git curl
78
89RUN curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh && \
910 bash -E nodesource_setup.sh && \
@@ -14,6 +15,4 @@ ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER="$CROSS_TOOLCHAIN_PREFIX"gcc \
1415 AR_aarch64_unknown_linux_gnu="$CROSS_TOOLCHAIN_PREFIX"ar \
1516 CC_aarch64_unknown_linux_gnu="$CROSS_TOOLCHAIN_PREFIX"gcc \
1617 CXX_aarch64_unknown_linux_gnu="$CROSS_TOOLCHAIN_PREFIX"g++ \
17- PKG_CONFIG_PATH="/usr/lib/aarch64-linux-gnu/pkgconfig/:${PKG_CONFIG_PATH}"
18-
19- ENV RUSTFLAGS="-L /opt/sysroot/usr/lib"
18+ PKG_CONFIG_PATH="/usr/lib/aarch64-linux-gnu/pkgconfig/:${PKG_CONFIG_PATH}"
Original file line number Diff line number Diff line change @@ -2,14 +2,10 @@ FROM ubuntu:24.04
22
33RUN apt-get update && \
44 apt-get install --assume-yes --no-install-recommends \
5- software-properties-common unzip \
6- build-essential make cmake ca-certificates \
7- curl pkg-config git \
8- sqlite3 clang gcc-10 g++-10
5+ build-essential pkg-config clang \
6+ g++ \
7+ git curl
98
109RUN curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh && \
1110 bash -E nodesource_setup.sh && \
12- apt-get install --assume-yes --no-install-recommends nodejs
13-
14- RUN apt remove -y gcc-9 g++-9
15- RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 20 --slave /usr/bin/g++ g++ /usr/bin/g++-10
11+ apt-get install --assume-yes --no-install-recommends nodejs
You can’t perform that action at this time.
0 commit comments