File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11# FROM ubuntu:24.04
22FROM mcr.microsoft.com/devcontainers/cpp:ubuntu-24.04
33
4- # Update and upgrade packages
5-
6- RUN apt-get update && apt-get upgrade --yes
7-
84# Install additional packages
95
10- RUN apt-get install --no-install-recommends --yes clang-format clang-tidy cppcheck gcc-14 g++-14 iwyu lcov pre-commit
6+ RUN apt-get update \
7+ && apt-get upgrade --yes \
8+ && apt-get install --yes --no-install-recommends adr-tools clang-format clang-tidy cppcheck gcc-14 g++-14 iwyu lcov pre-commit \
9+ && apt-get clean \
10+ && rm -rf /var/lib/apt/lists/*
1111
1212# Choose default gcc and g++ version
1313
@@ -19,6 +19,7 @@ RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13 \
1919 && update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-14 14
2020
2121# Download hadolint
22+
2223RUN curl -Lo /bin/hadolint https://github.com/hadolint/hadolint/releases/latest/download/hadolint-Linux-x86_64 \
2324 && chmod +x /bin/hadolint
2425
Original file line number Diff line number Diff line change 11ignored :
22 - DL3008
3- - DL3009
You can’t perform that action at this time.
0 commit comments