Skip to content

Commit

Permalink
Merge rust-lang#76
Browse files Browse the repository at this point in the history
76: Update CI to Debian bookworm. r=ptersilie a=vext01



Co-authored-by: Edd Barrett <vext01@gmail.com>
  • Loading branch information
bors[bot] and vext01 authored Jul 18, 2023
2 parents 8dc7a41 + 4a5711f commit 91b2c9f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .buildbot_dockerfile_debian
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM debian:bullseye
FROM debian:bookworm
ARG CI_UID
RUN useradd -m -u ${CI_UID} ci
RUN apt-get update && \
apt-get -y install clang-13 make curl cmake python3-distutils git \
apt-get -y install clang-15 make curl cmake python3-distutils git \
ninja-build
WORKDIR /ci
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang-13 999
RUN update-alternatives --set cc /usr/bin/clang-13
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-13 999
RUN update-alternatives --set c++ /usr/bin/clang++-13
RUN ln -sf /usr/bin/clang-13 /usr/bin/clang
RUN ln -sf /usr/bin/clang++-13 /usr/bin/clang++
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang-15 999
RUN update-alternatives --set cc /usr/bin/clang-15
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-15 999
RUN update-alternatives --set c++ /usr/bin/clang++-15
RUN ln -sf /usr/bin/clang-15 /usr/bin/clang
RUN ln -sf /usr/bin/clang++-15 /usr/bin/clang++
RUN chown ${CI_UID}:${CI_UID} .
COPY --chown=${CI_UID}:${CI_UID} . .
CMD sh -x .buildbot.sh

0 comments on commit 91b2c9f

Please sign in to comment.