Debian Codegraph @

scripts/ci/images/formatting/Dockerfile

raw
1 # SPDX-FileCopyrightText: 2026 Oak Ridge National Laboratory and Contributors
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 FROM docker.io/fedora:38@sha256:b9ff6f23cceb5bde20bb1f79b492b98d71ef7a7ae518ca1b15b26661a11e6a94
6
7 RUN dnf update -y && \
8 dnf install -y \
9 clang-tools-extra \
10 curl \
11 git \
12 python3-pip \
13 python3-flake8 \
14 python3-pylint \
15 python3-black \
16 ShellCheck \
17 && \
18 dnf clean all && \
19 pip3 install --upgrade pip && \
20 pip3 install ruff
21
22 # Check that the target programs has been installed
23 RUN command -v clang-format > /dev/null && \
24 command -v flake8 > /dev/null && \
25 command -v ruff > /dev/null && \
26 command -v shellcheck > /dev/null