Add yq to builder
This commit is contained in:
parent
b398b7216a
commit
6ab69c1341
2 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
FROM debian:bookworm
|
||||
|
||||
ARG KUBE_RELEASE=v1.30.2
|
||||
ARG YQ_VERSION=v4.44.2
|
||||
|
||||
RUN set -eux; \
|
||||
apt-get update; \
|
||||
|
@ -27,6 +28,10 @@ RUN set -eux; \
|
|||
curl --silent --location "https://dl.k8s.io/release/$KUBE_RELEASE/bin/linux/amd64/kubectl" \
|
||||
| install --owner=root --group=root --mode=0755 /dev/stdin /usr/local/bin/kubectl \
|
||||
; \
|
||||
curl --silent --location "https://github.com/mikefarah/yq/releases/download/$YQ_VERSION/yq_linux_amd64.tar.gz" \
|
||||
| tar --extract --gzip --to-stdout ./yq_linux_amd64 \
|
||||
| install --owner=root --group=root --mode=0755 /dev/stdin /usr/local/bin/yq \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# References:
|
||||
|
|
|
@ -9,3 +9,4 @@ Common docker image used for running application builds, CI pipelines, and deplo
|
|||
- `git`
|
||||
- `kubectl`
|
||||
- `ssh`
|
||||
- `yq` - https://github.com/mikefarah/yq
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue