Skip to content

Commit

Permalink
feat: add ccache support to dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
abdes committed May 1, 2022
2 parents 5e341b8 + c9e0b8f commit 202c27a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ RUN add-apt-repository 'deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullsey
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install clang-14 clangd-14 lldb-14 llvm-14 clang-format-14 clang-tidy-14

# Install ccache
RUN apt-get -y install ccache

# Clean-up
RUN apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*

RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 100
Expand Down

0 comments on commit 202c27a

Please sign in to comment.