@@ -6,25 +6,44 @@ FROM ./ci-slim.Dockerfile
66# just started configuring this image, give us root access
77USER root
88
9- # Install common packages
9+ # Install packages
1010RUN 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} \
1512 autoconf \
13+ automake \
14+ autotools-dev \
15+ bc \
1616 bear \
1717 bison \
1818 bsdmainutils \
1919 ccache \
2020 cmake \
21+ g++-11 \
22+ g++-14 \
23+ g++-arm-linux-gnueabihf \
24+ g++-mingw-w64-x86-64 \
25+ gawk \
2126 gettext \
27+ jq \
2228 libtool \
23- unzip \
29+ libz-dev \
2430 m4 \
31+ nsis \
32+ parallel \
2533 pkg-config \
34+ python3-zmq \
35+ unzip \
36+ valgrind \
37+ wine-stable \
38+ wine64 \
39+ zip \
2640 && rm -rf /var/lib/apt/lists/*
2741
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+
2847# Install Clang + LLVM and set it as default
2948RUN set -ex; \
3049 apt-get update && apt-get install ${APT_ARGS} \
@@ -59,31 +78,6 @@ RUN set -ex; \
5978 make install -j "$(( $(nproc) - 1 ))" ; \
6079 cd /opt && rm -rf /opt/iwyu;
6180
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-
8781RUN \
8882 mkdir -p /cache/ccache && \
8983 mkdir /cache/depends && \
0 commit comments