mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-05 19:21:46 +00:00
Put the binaries in the official place
This commit is contained in:
5
Makefile
5
Makefile
@@ -77,10 +77,11 @@ $(SCOPE_UI_BUILD_EXPORT): client/Dockerfile client/package.json client/webpack.l
|
||||
docker build -t $(SCOPE_UI_BUILD_IMAGE) client
|
||||
docker save $(SCOPE_UI_BUILD_IMAGE):latest > $@
|
||||
|
||||
# backend is an alternate Docker-based method to produce APP_EXE and PROBE_EXE
|
||||
backend:
|
||||
docker build -t $(SCOPE_BACKEND_BUILD_IMAGE) backend
|
||||
docker run -ti -v $(shell pwd)/backend:/mount $(SCOPE_BACKEND_BUILD_IMAGE) cp /go/bin/scope-app /mount
|
||||
docker run -ti -v $(shell pwd)/backend:/mount $(SCOPE_BACKEND_BUILD_IMAGE) cp /go/bin/scope-probe /mount
|
||||
docker run -ti -v $(shell pwd)/app:/mount $(SCOPE_BACKEND_BUILD_IMAGE) cp /go/bin/scope-app /mount
|
||||
docker run -ti -v $(shell pwd)/probe:/mount $(SCOPE_BACKEND_BUILD_IMAGE) cp /go/bin/scope-probe /mount
|
||||
|
||||
clean:
|
||||
go clean ./...
|
||||
|
||||
Reference in New Issue
Block a user