/
githubmirror
/
fwupd
Обзор
Документация
Войти
/
githubmirror
/
fwupd
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.0.21
contrib/ci/Dockerfile-precommit.in
18 строк
511 B
Mario Limonciello (AMD)
trivial: install shfmt in the pre-commit container
25 сен 2025, 18:17
25 сен 2025, 18:17
a02af9f
Код
Авторство
О чём код?
FROM debian:testing ENV SKIP=no-commit-to-branch RUN apt update && apt install -yq --no-install-recommends \ git \ patch \ pre-commit \ shellcheck \ shfmt \ clang-format RUN apt install wget -yq RUN mkdir -p /tmp/repo && \ cd /tmp/repo && \ git init && \ wget https://raw.githubusercontent.com/fwupd/fwupd/main/.pre-commit-config.yaml RUN cd /tmp/repo && pre-commit run RUN rm -rf /tmp/repo WORKDIR /github/workspace CMD ["./contrib/ci/precommit.sh"]