Skip to content

Commit e0c1425

Browse files
[TASK] Add usermapping for linux (#14)
1 parent 99aa4a5 commit e0c1425

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,29 @@ docs: prepare-docs render-docs restore-docs ## Prepare, generate, and clean up d
1010
render-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
1616
test-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
2222
stage-docs: ## Make a backup of the Documentation directory in Documentation-BACKUP-temp
2323
cp -r Documentation Documentation-BACKUP-temp
2424

2525
.PHONY: index-files
2626
index-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
3030
expand-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
3434
generate-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
3838
expand-tags: ## Expands tags into Markdown

0 commit comments

Comments
 (0)