diff --git a/15/Dockerfile b/15/Dockerfile new file mode 100644 index 0000000..e1ca8e6 --- /dev/null +++ b/15/Dockerfile @@ -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 [""] diff --git a/15/sources.list.kinetic b/15/sources.list.kinetic new file mode 100644 index 0000000..0795ff7 --- /dev/null +++ b/15/sources.list.kinetic @@ -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 \ No newline at end of file