mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
Use user flag to fix build folder permissions
This commit is contained in:
parent
279c736207
commit
a0b8d87060
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -196,6 +196,7 @@ dashboard/assets.go: $(DASHBOARDSOURCES) $(DASHBOARDDIR)/Dockerfile.build
|
||||||
cd $(DASHBOARDDIR) && docker build -t $(DASHBOARDBUILDIMAGE) -f Dockerfile.build $(DASHBOARDDIR)
|
cd $(DASHBOARDDIR) && docker build -t $(DASHBOARDBUILDIMAGE) -f Dockerfile.build $(DASHBOARDDIR)
|
||||||
@mkdir -p $(DASHBOARDDIR)/build
|
@mkdir -p $(DASHBOARDDIR)/build
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
|
-u $(shell id -u):$(shell id -g) \
|
||||||
-v $(DASHBOARDDIR)/build:/usr/code/build \
|
-v $(DASHBOARDDIR)/build:/usr/code/build \
|
||||||
-v $(DASHBOARDDIR)/public:/usr/code/public:ro \
|
-v $(DASHBOARDDIR)/public:/usr/code/public:ro \
|
||||||
-v $(DASHBOARDDIR)/src:/usr/code/src:ro \
|
-v $(DASHBOARDDIR)/src:/usr/code/src:ro \
|
||||||
|
|
Loading…
Reference in a new issue