From b653794765027cbbbdc5b917f3fc21011ff50e17 Mon Sep 17 00:00:00 2001 From: YedongLiu Date: Thu, 16 Apr 2020 09:35:07 +0800 Subject: [PATCH] update command lines for building and image information in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6014ff5..5d8f74b 100644 --- a/README.md +++ b/README.md @@ -95,14 +95,14 @@ docker pull mindspore/ms-operator:latest Or you can build the ms-operator image on local machine: ``` -go build -o ms-operator cmd/ms-operator.v1/main.go +go build -ldflags '-w -s' -o ms-operator cmd/ms-operator.v1/main.go docker build . -t mindspore/ms-operator ``` After the installation, check the image status using `docker images` command: ``` REPOSITORY TAG IMAGE ID CREATED SIZE -mindspore/ms-operator latest b3785ad45c0a 14 minutes ago 111MB +mindspore/ms-operator latest 4a17028de3d3 5 minutes ago 97.8MB ``` The MindSpore image we download from docker hub is `0.1.0-alpha` version: -- GitLab