-
Notifications
You must be signed in to change notification settings - Fork 11
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
1 parent
a021567
commit 9746e87
Showing
2 changed files
with
16 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM ubuntu:22.04 | ||
|
||
LABEL description="Ubuntu with clang-format v14" | ||
LABEL maintainer="Paul Gessinger <[email protected]>" | ||
# increase whenever any of the RUN commands change | ||
LABEL version="1" | ||
|
||
RUN apt-get -y update \ | ||
&& apt-get -y install clang-format-14 git \ | ||
&& apt-get clean all \ | ||
&& update-alternatives \ | ||
--install /usr/bin/clang-format clang-format /usr/bin/clang-format-14 100 \ | ||
--slave /usr/bin/clang-format-diff clang-format-diff /usr/bin/clang-format-diff-14 \ | ||
--slave /usr/bin/git-clang-format git-clang-format /usr/bin/git-clang-format-14 | ||
|