first commit
This commit is contained in:
commit
e491b25588
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
jv
|
8
Dockerfile
Normal file
8
Dockerfile
Normal 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
22
README.md
Normal 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
|
Loading…
Reference in New Issue
Block a user