# SPDX-FileCopyrightText: 2026 Oak Ridge National Laboratory and Contributors
#
# SPDX-License-Identifier: Apache-2.0

FROM docker.io/fedora:38@sha256:b9ff6f23cceb5bde20bb1f79b492b98d71ef7a7ae518ca1b15b26661a11e6a94

RUN dnf update -y && \
    dnf install -y \
    clang-tools-extra \
    curl \
    git \
    python3-pip \
    python3-flake8 \
    python3-pylint \
    python3-black \
    ShellCheck \
    && \
    dnf clean all && \
    pip3 install --upgrade pip && \
    pip3 install ruff

# Check that the target programs has been installed
RUN command -v clang-format > /dev/null && \
    command -v flake8 > /dev/null && \
    command -v ruff > /dev/null && \
    command -v shellcheck > /dev/null
