generated from EVerest/everest-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add
run-clang-format.py
script to build-env-base
image
* Refactor `everest-clang-format` image to use `build-env-base` as base image * Update github action `run-glang-format` to use new `everest-clang-format` image Signed-off-by: Andreas Heinrich <andreas.heinrich@rwth-aachen.de>
- Loading branch information
Showing
4 changed files
with
5 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
ARG BASE_IMAGE=debian:12 | ||
FROM ${BASE_IMAGE} | ||
|
||
RUN apt update && apt upgrade -y | ||
RUN apt update && \ | ||
apt install -y \ | ||
clang-format-15=1:15.0.6* | ||
RUN ln -s /usr/bin/clang-format-15 /usr/bin/clang-format | ||
|
||
RUN apt install -y \ | ||
python-is-python3 | ||
|
||
COPY run-clang-format.py /usr/bin/run-clang-format | ||
ARG BASE_IMAGE_TAG=latest | ||
FROM ghcr.io/everest/everest-ci/build-env-base:${BASE_IMAGE_TAG} | ||
|
||
ENTRYPOINT ["/usr/bin/run-clang-format"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters