-
Notifications
You must be signed in to change notification settings - Fork 219
Expand file tree
/
Copy pathDockerfile.build
More file actions
35 lines (34 loc) · 1.07 KB
/
Dockerfile.build
File metadata and controls
35 lines (34 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
ARG TEST_RUNNER_CONTAINER
FROM ${TEST_RUNNER_CONTAINER}
RUN apt-get update \
&& apt-get install --yes --no-install-recommends \
binfmt-support \
clang \
cmake \
g++ \
g++-i686-linux-gnu \
g++-mips-linux-gnu \
g++-riscv64-linux-gnu \
libadscomm-dev \
libstdc++-14-dev-mips-cross \
libstdc++-14-dev-riscv64-cross \
meson \
qemu-user-binfmt \
socat \
xxd \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /var/cache/apt/* \
# END OF LIST
# We have no i386 synced into our deb-mirror, so here we go and hack the apt
# configuration to use upstream servers. This should be okay until somebody
# tries to use this container as a basis for another one.
RUN rm /etc/apt/sources.list.d/*
RUN printf 'deb https://deb.debian.org/debian trixie main contrib non-free-firmware\n' > /etc/apt/sources.list.d/i386.list
RUN dpkg --add-architecture i386
RUN apt-get update \
&& apt-get install --yes --no-install-recommends \
libc6:i386 \
libstdc++6:i386 \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /var/cache/apt/* \
# END OF LIST