Skip to content

Support clang-15 #33 #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions 15/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM ubuntu:22.04

ENV CLANG_VERSION 15

RUN mv /etc/apt/sources.list /etc/apt/sources.list.focal

COPY sources.list.kinetic /etc/apt/sources.list

RUN apt-get update \
&& apt-get --no-install-recommends -y install clang-format-$CLANG_VERSION clang-tidy-$CLANG_VERSION \
&& mv /etc/apt/sources.list.focal /etc/apt/sources.list \
&& ln -s /usr/bin/clang-format-$CLANG_VERSION /usr/bin/clang-format \
&& ln -s /usr/bin/clang-tidy-$CLANG_VERSION /usr/bin/clang-tidy \
&& echo "--- Clang-format version ---" \
&& clang-format --version \
&& echo "--- Clang-tidy version ---" \
&& clang-tidy --version \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /src

CMD [""]
42 changes: 42 additions & 0 deletions 15/sources.list.kinetic
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ kinetic main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ kinetic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ kinetic-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ kinetic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ kinetic universe
# deb-src http://archive.ubuntu.com/ubuntu/ kinetic universe
deb http://archive.ubuntu.com/ubuntu/ kinetic-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ kinetic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ kinetic multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ kinetic multiverse
deb http://archive.ubuntu.com/ubuntu/ kinetic-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ kinetic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ kinetic-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ kinetic-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ kinetic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ kinetic-security main restricted
deb http://security.ubuntu.com/ubuntu/ kinetic-security universe
# deb-src http://security.ubuntu.com/ubuntu/ kinetic-security universe
deb http://security.ubuntu.com/ubuntu/ kinetic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ kinetic-security multiverse