Dockerfile (1340B)
1 # Dockerfile for building extra builds. This includes more tools than the 2 # default image, so it's a fair bit bigger. Only use this for builds where 3 # the smaller docker image is missing something. These builds will run on 4 # the leaner configuration. 5 FROM $DOCKER_IMAGE_PARENT 6 7 VOLUME /builds/worker/checkouts 8 VOLUME /builds/worker/workspace 9 VOLUME /builds/worker/.cache 10 11 ADD bionic.list /etc/apt/sources.list.d/bionic.list 12 RUN apt-get update \ 13 && apt-get install -y --no-install-recommends \ 14 clang-10 \ 15 clang-18 \ 16 cmake \ 17 g++-4.8-multilib \ 18 g++-5-multilib \ 19 libelf-dev \ 20 libdw-dev \ 21 libssl-dev \ 22 libssl-dev:i386 \ 23 valgrind \ 24 clang-format-10 \ 25 libabigail-dev \ 26 abigail-tools \ 27 software-properties-common \ 28 && add-apt-repository ppa:ubuntu-toolchain-r/test -y \ 29 && apt-get update \ 30 && apt-get install --no-install-recommends -y \ 31 gcc-11-multilib \ 32 g++-11-multilib \ 33 && rm -rf /var/lib/apt/lists/* \ 34 && apt-get autoremove -y && apt-get clean -y 35 36 RUN update-alternatives --install /usr/bin/clang-format \ 37 clang-format $(which clang-format-10) 10 38 39 # Install golang for bogo tests 40 RUN curl https://dl.google.com/go/go1.23.1.linux-amd64.tar.gz -sLf | tar xzf - -C $HOME 41 ENV PATH "$PATH:$HOME/go/bin" 42 43 # Set a default command for debugging. 44 CMD ["/bin/bash", "--login"]