Skip to content

Commit

Permalink
Add yq
Browse files Browse the repository at this point in the history
  • Loading branch information
hason committed Jul 31, 2024
1 parent 3409fd9 commit aed43a1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM minidocks/base
LABEL maintainer="Martin Hasoň <[email protected]>"

RUN apk --update add curl jq pup libxml2-utils && clean
RUN apk --update add curl jq pup libxml2-utils yq-go && clean

COPY rootfs /
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
Curl docker image (minidocks/curl)
==================================
Curl docker image ([minidocks/curl](https://hub.docker.com/r/minidocks/curl))
=============================================================================

![](https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Curl-logo.svg/200px-Curl-logo.svg.png)

[Curl](https://curl.haxx.se/) is a command-line tool for transferring data specified with URL syntax.
[Curl](https://curl.haxx.se/) is a command-line tool for transferring data
specified with URL syntax.

Utilities
---------

- [jq](https://stedolan.github.io/jq/) is a lightweight and flexible command-line JSON processor.
- [jq](https://stedolan.github.io/jq/) is a lightweight and flexible
command-line JSON processor.
- [yq](https://mikefarah.gitbook.io/yq) is a lightweight and portable
command-line YAML processor.
- [pup](https://github.com/ericchiang/pup) parsing HTML at the command line.
- [xmllint](https://gnome.pages.gitlab.gnome.org/libxml2/xmllint.html) command line XML tool.
- [xmllint](https://gnome.pages.gitlab.gnome.org/libxml2/xmllint.html) command
line XML tool.

Usage
-----
Expand All @@ -22,7 +27,6 @@ docker run --rm -it minidocks/curl http://example.com | pup 'h1 text{}'
Tags
----

Tag | Size
--------- | ----
latest, 7 | ![](https://img.shields.io/docker/image-size/minidocks/curl/latest?style=flat-square&logo=docker&label=size)
7 | ![](https://img.shields.io/docker/image-size/minidocks/curl/7?style=flat-square&logo=docker&label=size)
| Tag | Size |
|---------|--------------------------------------------------------------------------------------------------------------|
| latest | ![](https://img.shields.io/docker/image-size/minidocks/curl/latest?style=flat-square&logo=docker&label=size) |
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ set -e

image="${namespace:-minidocks}/curl"
versions="
7
latest
"

Expand Down

0 comments on commit aed43a1

Please sign in to comment.