This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-eyes.git


The following commit(s) were added to refs/heads/main by this push:
     new 9bd5feb  Add documentation about how to use via docker image (#20)
9bd5feb is described below

commit 9bd5feb86b5817aa6072b008f9866a2c3bbc8587
Author: Zhenxu Ke <[email protected]>
AuthorDate: Tue Jan 12 17:28:04 2021 +0800

    Add documentation about how to use via docker image (#20)
---
 Dockerfile | 2 ++
 README.md  | 8 +++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index f7090f6..ef95f9a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,6 +16,8 @@
 # under the License.
 #
 
+# TODO: minimize the docker image size, now 524MB !!!
+
 FROM golang:1.14.3-alpine AS build
 
 WORKDIR /license-eye
diff --git a/README.md b/README.md
index f35bd38..33fa06c 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,13 @@ header:
 
 **NOTE**: The full configurations can be found in [the configuration 
section](#configurations).
 
+### Docker Image
+
+```shell
+$ docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes 
header check
+$ docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes 
header fix
+```
+
 ### Compile from Source
 
 ```bash
@@ -119,7 +126,6 @@ ERROR failed to identify the licenses of following packages:
 gopkg.in/yaml.v3
 ```
 
-
 ## Configurations
 
 ```yaml

Reply via email to