Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any idea for maintaining a offical docker image #28

Open
okhowang opened this issue May 12, 2020 · 2 comments
Open

Is there any idea for maintaining a offical docker image #28

okhowang opened this issue May 12, 2020 · 2 comments

Comments

@okhowang
Copy link

there is three docker image wrapper now.
https://hub.docker.com/search?q=clang-format-checker&type=image

@Sarcasm
Copy link
Owner

Sarcasm commented May 12, 2020

Ah, thanks for the head up, it's good to know.
However, I'm not sure I want to maintain an image that I have no use for.
For me, run-clang-format.py should be hard-copied into a project, and developers should be able to run it on a project without other requirements than having clang-format installed on the system.
Putting it in a docker image, might make it more difficult for developers to use verify the code locally unless docker is already required even locally.

@okhowang
Copy link
Author

copy is simple and useful.

but developer may or may not keep update for the script.

docker image is useful in CI. which is called more simplely.

clang-format is not like compiler, has not project-level dependencies. developer should use latest version, for less bug and more feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants