Skip to content

Commit

Permalink
Add documentation about how to use via docker image (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
kezhenxu94 authored Jan 12, 2021
1 parent 6a614d8 commit 9bd5feb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -119,7 +126,6 @@ ERROR failed to identify the licenses of following packages:
gopkg.in/yaml.v3
```


## Configurations

```yaml
Expand Down

0 comments on commit 9bd5feb

Please sign in to comment.