-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
FROM trainiteu/gitpod-cpp | ||
|
||
# Add clang-12 and clang-15 apt repositories | ||
# Add clang apt repositories | ||
RUN lsb_rel=`lsb_release -cs` \ | ||
&& sudo add-apt-repository "deb http://apt.llvm.org/${lsb_rel}/ llvm-toolchain-${lsb_rel}-13 main" \ | ||
&& sudo add-apt-repository "deb http://apt.llvm.org/${lsb_rel}/ llvm-toolchain-${lsb_rel}-14 main" \ | ||
&& sudo add-apt-repository "deb http://apt.llvm.org/${lsb_rel}/ llvm-toolchain-${lsb_rel} main" | ||
&& sudo add-apt-repository "deb http://apt.llvm.org/${lsb_rel}/ llvm-toolchain-${lsb_rel}-16 main" | ||
|
||
# Install older compilers supported by the project as well as clang-format-15 for code formatting | ||
# Install older compilers supported by the project | ||
RUN sudo install-packages \ | ||
g++-10 \ | ||
g++-11 \ | ||
clang-13 \ | ||
clang-14 | ||
g++-12 \ | ||
clang-16 |