mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-07 14:25:38 +00:00
Compare commits
4 Commits
4bf661e0bc
...
eab2f0e0c3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eab2f0e0c3 | ||
|
|
c34d3f7805 | ||
|
|
fe82725be8 | ||
|
|
f5e4316e84 |
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.23.4 AS builder
|
FROM golang:1.23.5 AS builder
|
||||||
|
|
||||||
WORKDIR /go/src/mikefarah/yq
|
WORKDIR /go/src/mikefarah/yq
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.23.4
|
FROM golang:1.23.5
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y npm && \
|
apt-get install -y npm && \
|
||||||
|
|||||||
10
README.md
10
README.md
@ -76,21 +76,21 @@ For instance, VERSION=v4.2.0 and BINARY=yq_linux_amd64
|
|||||||
#### Compressed via tar.gz
|
#### Compressed via tar.gz
|
||||||
```bash
|
```bash
|
||||||
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\
|
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\
|
||||||
tar xz && mv ${BINARY} /usr/bin/yq
|
tar xz && mv ${BINARY} /usr/local/bin/yq
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Plain binary
|
#### Plain binary
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq &&\
|
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/local/bin/yq &&\
|
||||||
chmod +x /usr/bin/yq
|
chmod +x /usr/local/bin/yq
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Latest version
|
#### Latest version
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\
|
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/local/bin/yq &&\
|
||||||
chmod +x /usr/bin/yq
|
chmod +x /usr/local/bin/yq
|
||||||
```
|
```
|
||||||
|
|
||||||
### MacOS / Linux via Homebrew:
|
### MacOS / Linux via Homebrew:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user