-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
format,ci: update clang-format to clang16
- Loading branch information
1 parent
cdd58fb
commit afec22d
Showing
2 changed files
with
13 additions
and
12 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 |
---|---|---|
@@ -1,15 +1,16 @@ | ||
FROM ubuntu:20.04 | ||
FROM fedora:38 | ||
|
||
RUN apt update && \ | ||
DEBIAN_FRONTEND="noninteractive" apt upgrade -y --no-install-recommends && \ | ||
DEBIAN_FRONTEND="noninteractive" apt install -y --no-install-recommends \ | ||
apt-utils \ | ||
ca-certificates \ | ||
clang-format-7 \ | ||
RUN dnf update -y && \ | ||
dnf install -y \ | ||
clang-tools-extra \ | ||
curl \ | ||
flake8 \ | ||
git \ | ||
libtinfo5 \ | ||
shellcheck \ | ||
python3-flake8 \ | ||
ShellCheck \ | ||
&& \ | ||
apt-get clean | ||
dnf clean all | ||
|
||
# Check that the target programs has been installed | ||
RUN command -v clang-format > /dev/null && \ | ||
command -v flake8 > /dev/null && \ | ||
command -v shellcheck > /dev/null |