Skip to content

Commit 584c1d3

Browse files
committed
ci: Remove unused dependency installs
`linux-headers-generic` isn't needed, sparc no longer needs the dependencies to prepare for using qemu-system, and g++ isn't needed for platforms that have a C-only libc.
1 parent 2e208d0 commit 584c1d3

File tree

4 files changed

+2
-13
lines changed

4 files changed

+2
-13
lines changed

ci/docker/loongarch64-unknown-linux-gnu/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
66
gcc-14-loongarch64-linux-gnu \
77
libc6-dev \
88
libc6-dev-loong64-cross \
9-
linux-headers-generic \
109
qemu-user
1110

1211
ENV CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_LINKER=loongarch64-linux-gnu-gcc-14 \

ci/docker/riscv64gc-unknown-linux-gnu/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
66
gcc-riscv64-linux-gnu \
77
libc6-dev \
88
libc6-dev-riscv64-cross \
9-
linux-headers-generic \
109
qemu-system-riscv64 \
1110
qemu-user
1211

ci/docker/sparc64-unknown-linux-gnu/Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,12 @@ FROM ubuntu:25.04
22

33
RUN apt-get update && apt-get install -y --no-install-recommends \
44
ca-certificates \
5-
cpio \
6-
curl \
75
gcc \
86
gcc-sparc64-linux-gnu \
9-
ipxe-qemu \
107
libc6-dev \
118
libc6-dev-sparc64-cross \
12-
linux-libc-dev-sparc64-cross \
13-
openbios-sparc \
14-
p7zip-full \
159
qemu-system-sparc64 \
16-
qemu-user \
17-
seabios
10+
qemu-user
1811

1912
ENV CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_LINKER=sparc64-linux-gnu-gcc \
2013
CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_RUNNER="qemu-sparc64 -L /usr/sparc64-linux-gnu" \

ci/docker/x86_64-unknown-linux-gnu/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ FROM ubuntu:25.04
22

33
RUN apt-get update && apt-get install -y --no-install-recommends \
44
ca-certificates \
5-
g++ \
65
gcc \
7-
libc6-dev \
8-
linux-headers-generic
6+
libc6-dev
97

108
RUN apt search linux-headers
119
RUN ls /usr/src

0 commit comments

Comments
 (0)