Commit d334669
committed
Run Docker container as user 1000 (#1975)
Previously, mega-linter-runner ran the MegaLinter Docker image as root.
In the Docker image, chown the /megalinter, /megalinter-descriptors, and
/action/lib/.automation directories to be owned by user and group 1000.
Users whose files became owned by root as a consequence of having run a
previous version of MegaLinter will need to chown them to be owned by
user 1000 when upgrading MegaLinter.1 parent 00df56b commit d334669
File tree
133 files changed
+1042
-392
lines changed- .automation
- flavors
- ci_light
- cupcake
- documentation
- dotnet
- go
- javascript
- java
- php
- python
- ruby
- rust
- salesforce
- security
- swift
- terraform
- linters
- action_actionlint
- ansible_ansible_lint
- arm_arm_ttk
- bash_exec
- bash_shellcheck
- bash_shfmt
- bicep_bicep_linter
- c_cpplint
- clojure_clj_kondo
- cloudformation_cfn_lint
- coffee_coffeelint
- copypaste_jscpd
- cpp_cpplint
- csharp_csharpier
- csharp_dotnet_format
- css_scss_lint
- css_stylelint
- dart_dartanalyzer
- dockerfile_hadolint
- editorconfig_editorconfig_checker
- env_dotenv_linter
- gherkin_gherkin_lint
- go_golangci_lint
- go_revive
- graphql_graphql_schema_linter
- groovy_npm_groovy_lint
- html_djlint
- html_htmlhint
- java_checkstyle
- java_pmd
- javascript_es
- javascript_prettier
- javascript_standard
- json_eslint_plugin_jsonc
- json_jsonlint
- json_npm_package_json_lint
- json_prettier
- json_v8r
- jsx_eslint
- kotlin_ktlint
- kubernetes_helm
- kubernetes_kubeconform
- kubernetes_kubeval
- latex_chktex
- lua_luacheck
- makefile_checkmake
- markdown_markdown_link_check
- markdown_markdown_table_formatter
- markdown_markdownlint
- markdown_remark_lint
- openapi_spectral
- perl_perlcritic
- php_phpcs
- php_phplint
- php_phpstan
- php_psalm
- powershell_powershell_formatter
- powershell_powershell
- protobuf_protolint
- puppet_puppet_lint
- python_bandit
- python_black
- python_flake8
- python_isort
- python_mypy
- python_pylint
- python_pyright
- python_ruff
- r_lintr
- raku_raku
- repository_checkov
- repository_devskim
- repository_dustilock
- repository_git_diff
- repository_gitleaks
- repository_goodcheck
- repository_secretlint
- repository_semgrep
- repository_syft
- repository_trivy
- rst_rst_lint
- rst_rstcheck
- rst_rstfmt
- ruby_rubocop
- rust_clippy
- salesforce_sfdx_scanner_apex
- salesforce_sfdx_scanner_aura
- salesforce_sfdx_scanner_lwc
- scala_scalafix
- snakemake_lint
- snakemake_snakefmt
- spell_cspell
- spell_misspell
- spell_proselint
- sql_sql_lint
- sql_sqlfluff
- sql_tsqllint
- swift_swiftlint
- tekton_tekton_lint
- terraform_checkov
- terraform_kics
- terraform_terraform_fmt
- terraform_terragrunt
- terraform_terrascan
- terraform_tflint
- tsx_eslint
- typescript_es
- typescript_prettier
- typescript_standard
- vbdotnet_dotnet_format
- xml_xmllint
- yaml_prettier
- yaml_v8r
- yaml_yamllint
- mega-linter-runner/lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
133 files changed
+1042
-392
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
| 256 | + | |
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
| 669 | + | |
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | | - | |
679 | | - | |
| 678 | + | |
| 679 | + | |
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
| |||
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
718 | | - | |
| 718 | + | |
719 | 719 | | |
| 720 | + | |
720 | 721 | | |
721 | 722 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
220 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
221 | 226 | | |
222 | 227 | | |
223 | 228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
| 451 | + | |
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | | - | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
462 | 467 | | |
463 | 468 | | |
464 | 469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
307 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
308 | 313 | | |
309 | 314 | | |
310 | 315 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
402 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
403 | 408 | | |
404 | 409 | | |
405 | 410 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
323 | 328 | | |
324 | 329 | | |
325 | 330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
336 | 341 | | |
337 | 342 | | |
338 | 343 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
323 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
324 | 329 | | |
325 | 330 | | |
326 | 331 | | |
| |||
0 commit comments