@@ -6,25 +6,44 @@ FROM ./ci-slim.Dockerfile
6
6
# just started configuring this image, give us root access
7
7
USER root
8
8
9
- # Install common packages
9
+ # Install packages
10
10
RUN set -ex; \
11
- apt-get update && \
12
- apt-get install $APT_ARGS \
13
- autotools-dev \
14
- automake \
11
+ apt-get update && apt-get install ${APT_ARGS} \
15
12
autoconf \
13
+ automake \
14
+ autotools-dev \
15
+ bc \
16
16
bear \
17
17
bison \
18
18
bsdmainutils \
19
19
ccache \
20
20
cmake \
21
+ g++-11 \
22
+ g++-14 \
23
+ g++-arm-linux-gnueabihf \
24
+ g++-mingw-w64-x86-64 \
25
+ gawk \
21
26
gettext \
27
+ jq \
22
28
libtool \
23
- unzip \
29
+ libz-dev \
24
30
m4 \
31
+ nsis \
32
+ parallel \
25
33
pkg-config \
34
+ python3-zmq \
35
+ unzip \
36
+ valgrind \
37
+ wine-stable \
38
+ wine64 \
39
+ zip \
26
40
&& rm -rf /var/lib/apt/lists/*
27
41
42
+ # Make sure std::thread and friends are available
43
+ RUN update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix; \
44
+ update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix; \
45
+ exit 0
46
+
28
47
# Install Clang + LLVM and set it as default
29
48
RUN set -ex; \
30
49
apt-get update && apt-get install ${APT_ARGS} \
@@ -59,31 +78,6 @@ RUN set -ex; \
59
78
make install -j "$(( $(nproc) - 1 ))" ; \
60
79
cd /opt && rm -rf /opt/iwyu;
61
80
62
- # Packages needed for all target builds
63
- RUN apt-get update && apt-get install $APT_ARGS \
64
- bc \
65
- gawk \
66
- g++-11 \
67
- g++-14 \
68
- g++-arm-linux-gnueabihf \
69
- g++-mingw-w64-x86-64 \
70
- jq \
71
- libz-dev \
72
- nsis \
73
- python3-zmq \
74
- parallel \
75
- valgrind \
76
- wine-stable \
77
- wine64 \
78
- zip \
79
- && rm -rf /var/lib/apt/lists/*
80
-
81
- # Make sure std::thread and friends is available
82
- RUN \
83
- update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix; \
84
- update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix; \
85
- exit 0
86
-
87
81
RUN \
88
82
mkdir -p /cache/ccache && \
89
83
mkdir /cache/depends && \
0 commit comments