Skip to content

Commit 63d633f

Browse files
committed
simplifying more
1 parent f464628 commit 63d633f

File tree

2 files changed

+10
-15
lines changed

2 files changed

+10
-15
lines changed
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
FROM 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

89
RUN 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}"

server/dockerfiles/Dockerfile.builder_linux_x86

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

33
RUN 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

109
RUN 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

0 commit comments

Comments
 (0)