File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -69,4 +69,4 @@ golden-diff: clean .compile ## Diff compile output against the reference version
6969
7070.PHONY : clean
7171clean : # # Clean the project
72- rm -rf compiled dependencies vendor helmcharts jsonnetfile* .json || true
72+ rm -rf .cache compiled dependencies vendor helmcharts jsonnetfile* .json || true
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ compiled_volume ?= -v "$${PWD}/$(compiled_path):/$(COMPONENT_NAME)"
1313commodore_args ?= --search-paths ./dependencies --search-paths .
1414
1515DOCKER_CMD ?= docker
16- DOCKER_ARGS ?= run --rm -u "$$(id -u ) " -w /$(COMPONENT_NAME )
16+ DOCKER_ARGS ?= run --rm -u "$$(id -u ) : $$( id -g ) " -w /$(COMPONENT_NAME ) -e HOME="/ $( COMPONENT_NAME ) "
1717
1818JSONNET_FILES ?= $(shell find . -type f -not -path './vendor/* ' \( -name '* .* jsonnet' -or -name '* .libsonnet' \) )
1919JSONNETFMT_ARGS ?= --in-place --pad-arrays
@@ -25,12 +25,12 @@ YAMLLINT_CONFIG ?= .yamllint.yml
2525YAMLLINT_IMAGE ?= docker.io/cytopia/yamllint:latest
2626YAMLLINT_DOCKER ?= $(DOCKER_CMD ) $(DOCKER_ARGS ) $(root_volume ) $(YAMLLINT_IMAGE )
2727
28- VALE_CMD ?= $(DOCKER_CMD ) $(DOCKER_ARGS ) $(root_volume ) --volume "$${PWD}"/docs/modules:/pages vshn/vale:2.1.1
28+ VALE_CMD ?= $(DOCKER_CMD ) $(DOCKER_ARGS ) $(root_volume ) --volume "$${PWD}"/docs/modules:/pages docker.io/ vshn/vale:2.1.1
2929VALE_ARGS ?= --minAlertLevel=error --config=/pages/ROOT/pages/.vale.ini /pages
3030
31- ANTORA_PREVIEW_CMD ?= $(DOCKER_CMD ) run --rm --publish 2020:2020 --volume "${PWD}":/antora vshn/antora-preview:2.3.3 --style=syn --antora=docs
31+ ANTORA_PREVIEW_CMD ?= $(DOCKER_CMD ) run --rm --publish 2020:2020 --volume "${PWD}":/antora docker.io/ vshn/antora-preview:2.3.3 --style=syn --antora=docs
3232
33- COMMODORE_CMD ?= $(DOCKER_CMD ) $(DOCKER_ARGS ) $(root_volume ) projectsyn/commodore:latest component compile . $(commodore_args )
34- JB_CMD ?= $(DOCKER_CMD ) $(DOCKER_ARGS ) --entrypoint /usr/local/bin/jb projectsyn/commodore:latest install
33+ COMMODORE_CMD ?= $(DOCKER_CMD ) $(DOCKER_ARGS ) $(root_volume ) docker.io/ projectsyn/commodore:latest component compile . $(commodore_args )
34+ JB_CMD ?= $(DOCKER_CMD ) $(DOCKER_ARGS ) --entrypoint /usr/local/bin/jb docker.io/ projectsyn/commodore:latest install
3535
3636instance ?= defaults
You can’t perform that action at this time.
0 commit comments