This repository was archived by the owner on Oct 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ include ../common.mk
22
33CLI_DIR: =$(realpath $(CURDIR ) /../../cli)
44ENGINE_DIR: =$(realpath $(CURDIR ) /../../engine)
5+ PLUGINS_DIR: =$(realpath $(CURDIR ) /../plugins)
56GITCOMMIT? =$(shell cd $(CLI_DIR ) && git rev-parse --short HEAD)
67STATIC_VERSION: =$(shell ../static/gen-static-ver $(ENGINE_DIR ) $(VERSION ) )
78GO_BASE_IMAGE =golang
@@ -123,7 +124,7 @@ sources/engine-image:
123124
124125sources/plugin-installers.tgz : $(wildcard ../plugins/* )
125126 docker run --rm -i -w /v \
126- -v $(shell readlink -e ../plugins ) :/plugins \
127+ -v $(PLUGINS_DIR ) :/plugins \
127128 -v $(CURDIR ) /sources:/v \
128129 alpine \
129130 tar -C / -c -z -f /v/plugin-installers.tgz --exclude .git plugins
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ include ../common.mk
22
33CLI_DIR: =$(realpath $(CURDIR ) /../../cli)
44ENGINE_DIR: =$(realpath $(CURDIR ) /../../engine)
5+ PLUGINS_DIR =$(realpath $(CURDIR ) /../plugins)
56GITCOMMIT =$(shell cd $(ENGINE_DIR ) && git rev-parse --short HEAD)
67STATIC_VERSION: =$(shell ../static/gen-static-ver $(ENGINE_DIR ) $(VERSION ) )
78GO_BASE_IMAGE =golang
@@ -119,7 +120,7 @@ rpmbuild/SOURCES/distribution_based_engine.json: rpmbuild/SOURCES/engine-image
119120
120121rpmbuild/SOURCES/plugin-installers.tgz : $(wildcard ../plugins/* )
121122 docker run --rm -i -w /v \
122- -v $(shell readlink -e ../plugins ) :/plugins \
123+ -v $(PLUGINS_DIR ) :/plugins \
123124 -v $(CURDIR ) /rpmbuild/SOURCES:/v \
124125 alpine \
125126 tar -C / -c -z -f /v/plugin-installers.tgz --exclude .git plugins
You can’t perform that action at this time.
0 commit comments