Browse Source

first commit

master
Andrey Arapov 5 years ago
commit
e491b25588
No known key found for this signature in database
GPG Key ID: DB2B3CFD3E932680
  1. 1
      .gitignore
  2. 8
      Dockerfile
  3. 22
      README.md

1
.gitignore vendored

@ -0,0 +1 @@
jv

8
Dockerfile

@ -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

@ -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
Loading…
Cancel
Save