diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-03-12 02:54:08 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-03-12 02:54:08 -0800 |
| commit | 2d567e00aa18d34173659ba0044466a89e0622ea (patch) | |
| tree | cc5e78fd24737258cb522ed1eeb590b4fb7cb263 /docker/Makefile | |
| parent | 7d57664c2d80f2b7d3eb4cecc57a3275bafee44d (diff) | |
| download | seaweedfs-2d567e00aa18d34173659ba0044466a89e0622ea.tar.xz seaweedfs-2d567e00aa18d34173659ba0044466a89e0622ea.zip | |
add mount memory profiling
Diffstat (limited to 'docker/Makefile')
| -rw-r--r-- | docker/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/Makefile b/docker/Makefile index 345eac272..a933956b7 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -4,8 +4,10 @@ all: gen gen: dev -build: +binary: cd ../weed; CGO_ENABLED=0 GOOS=linux go build -ldflags "-extldflags -static"; mv weed ../docker/ + +build: binary docker build --no-cache -t chrislusf/seaweedfs:local -f Dockerfile.local . rm ./weed @@ -21,6 +23,9 @@ dev_tls: build certstrap dev_mount: build docker-compose -f compose/local-mount-compose.yml -p seaweedfs up +profile_mount: build + docker-compose -f compose/local-mount-profile-compose.yml -p seaweedfs up + k8s: build docker-compose -f compose/local-k8s-compose.yml -p seaweedfs up |
