Commit 05d9d00
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 4363d26 commit 05d9d00
File tree
133 files changed
+428
-407
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
+428
-407
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 | |
|---|---|---|---|
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
671 | | - | |
| 671 | + | |
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
681 | | - | |
| 680 | + | |
| 681 | + | |
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
| 720 | + | |
721 | 721 | | |
| 722 | + | |
722 | 723 | | |
723 | 724 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
222 | | - | |
| 221 | + | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
| 263 | + | |
263 | 264 | | |
264 | 265 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
| 453 | + | |
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
463 | | - | |
| 462 | + | |
| 463 | + | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
| 502 | + | |
503 | 503 | | |
| 504 | + | |
504 | 505 | | |
505 | 506 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
309 | | - | |
| 308 | + | |
| 309 | + | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
349 | 349 | | |
| 350 | + | |
350 | 351 | | |
351 | 352 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
404 | | - | |
| 403 | + | |
| 404 | + | |
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
| 443 | + | |
444 | 444 | | |
| 445 | + | |
445 | 446 | | |
446 | 447 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
| 323 | + | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
| 363 | + | |
364 | 364 | | |
| 365 | + | |
365 | 366 | | |
366 | 367 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
337 | | - | |
| 336 | + | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
377 | 377 | | |
| 378 | + | |
378 | 379 | | |
379 | 380 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
| 324 | + | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
365 | 365 | | |
| 366 | + | |
366 | 367 | | |
367 | 368 | | |
0 commit comments