@@ -10,29 +10,29 @@ docs: prepare-docs render-docs restore-docs ## Prepare, generate, and clean up d
1010render-docs : # # Render docs base on Documentation directory
1111 mkdir -p Documentation-GENERATED-temp
1212
13- docker run --rm --pull always -v "$(shell pwd)":/project -t ghcr.io/typo3-documentation/render-guides:latest --config=Documentation
13+ docker run --user $(shell id -u):$(shell id -g) -- rm --pull always -v "$(shell pwd)":/project -t ghcr.io/typo3-documentation/render-guides:latest --config=Documentation
1414
1515.PHONY : test-docs
1616test-docs : # # Test the documentation rendering
1717 mkdir -p Documentation-GENERATED-temp
1818
19- docker run --rm --pull always -v "$(shell pwd)":/project -t ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --fail-on-log
19+ docker run --user $(shell id -u):$(shell id -g) -- rm --pull always -v "$(shell pwd)":/project -t ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --fail-on-log
2020
2121.PHONY : stage-docs
2222stage-docs : # # Make a backup of the Documentation directory in Documentation-BACKUP-temp
2323 cp -r Documentation Documentation-BACKUP-temp
2424
2525.PHONY : index-files
2626index-files : # # Indexes all files and links in files.json
27- docker run --rm -v " $( shell pwd) " :/app php:8.3-cli php app/bin/index-files
27+ docker run --user $( shell id -u) : $( shell id -g) -- rm -v " $( shell pwd) " :/app php:8.3-cli php app/bin/index-files
2828
2929.PHONY : expand-links
3030expand-links : # # Expands shorthand links
31- docker run --rm -v " $( shell pwd) " :/app php:8.3-cli php app/bin/expand-links
31+ docker run --user $( shell id -u) : $( shell id -g) -- rm -v " $( shell pwd) " :/app php:8.3-cli php app/bin/expand-links
3232
3333.PHONY : generate-tos
3434generate-tos : # # Generates table of contents in all Index.md files
35- docker run --rm -v " $( shell pwd) " :/app php:8.3-cli php app/bin/generate-tos
35+ docker run --user $( shell id -u) : $( shell id -g) -- rm -v " $( shell pwd) " :/app php:8.3-cli php app/bin/generate-tos
3636
3737.PHONY : expand-tags
3838expand-tags : # # Expands tags into Markdown
0 commit comments