mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-24 19:28:09 +00:00
move vendor directory directly under packages
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
This commit is contained in:
parent
01ad4e5e39
commit
28afc72a97
@ -3,7 +3,7 @@ all: diagnostics-server
|
||||
.PHONY: vendor
|
||||
vendor:
|
||||
mkdir -p ./vendor
|
||||
cp -r ../go/vendor/* ./vendor/
|
||||
cp -r ../vendor/* ./vendor/
|
||||
|
||||
diagnostics-server: Dockerfile main.go vendor
|
||||
docker build --build-arg GOOS=$(OS) --build-arg GOARCH=$(ARCH) -t diagnostics:build .
|
||||
|
@ -3,10 +3,10 @@ all: proxy
|
||||
files:
|
||||
ls Dockerfile *.go > files
|
||||
find libproxy >> files
|
||||
printf -- '-C\n../go\n' >> files
|
||||
(cd ../go && find vendor) >> files
|
||||
printf -- '-C\n..\n' >> files
|
||||
(cd .. && find vendor) >> files
|
||||
|
||||
proxy: Dockerfile $(wildcard *.go libproxy/*.go) ../go/vendor/manifest files
|
||||
proxy: Dockerfile $(wildcard *.go libproxy/*.go) ../vendor/manifest files
|
||||
tar cf - -T files | docker build -t proxy:build -
|
||||
docker run --rm proxy:build | tar xf -
|
||||
|
||||
|
@ -3,7 +3,7 @@ all: vsudd
|
||||
.PHONY: vendor
|
||||
vendor:
|
||||
mkdir -p ./vendor
|
||||
cp -r ../go/vendor/* ./vendor/
|
||||
cp -r ../vendor/* ./vendor/
|
||||
|
||||
vsudd: Dockerfile main.go vendor
|
||||
docker build --build-arg GOOS=$(OS) --build-arg GOARCH=$(ARCH) -t vsudd:build .
|
||||
|
Loading…
Reference in New Issue
Block a user