first commit

This commit is contained in:
Andrey Arapov 2018-05-09 10:55:26 +02:00
commit e491b25588
No known key found for this signature in database
GPG Key ID: DB2B3CFD3E932680
3 changed files with 31 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
jv

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM golang:1.9.6-alpine as build
RUN apk add --update git
RUN go get -u github.com/maxzender/jv
FROM scratch
COPY --from=build /go/bin/jv /bin/jv
ENTRYPOINT ["/bin/jv"]
# CMD ["--help"]

22
README.md Normal file
View File

@ -0,0 +1,22 @@
### IMPORTANT
It appears that it is not yet working as desired, see:
https://github.com/moby/moby/issues/37023
# jv
This is a smallest possible docker image for jv. ``2.9MiB``
jv (for jsonviewer) helps you view your JSON.
## Usage
Add the following alias to your ``~/.bash_aliases`` file:
```
alias jv='docker run --rm -ti andrey01/jv'
```
## References
- https://github.com/maxzender/jv