Add nerdctl and k9s

This commit is contained in:
Ettore Di Giacinto
2022-08-22 22:12:20 +00:00
parent 08e4ee5d25
commit b736f5344b
4 changed files with 51 additions and 0 deletions

18
packages/k9s/build.yaml Normal file
View File

@@ -0,0 +1,18 @@
requires:
- name: "toolchain-go"
category: "development"
version: ">=0"
env:
- PATH=$PATH:/usr/local/go/bin
- CGO_ENABLED=0
prelude:
- |
PACKAGE_VERSION=v${PACKAGE_VERSION%\-*} && \
git clone --depth=1 --branch ${PACKAGE_VERSION} https://github.com/derailed/k9s
steps:
- |
cd k9s && \
make build && \
cp execs/k9s /usr/bin
includes:
- /usr/bin/k9s

View File

@@ -0,0 +1,7 @@
name: "k9s"
category: "utils"
version: "0.26.3"
platform: Linux
labels:
github.repo: "k9s"
github.owner: "derailed"

View File

@@ -0,0 +1,18 @@
requires:
- name: "toolchain-go"
category: "development"
version: ">=0"
env:
- PATH=$PATH:/usr/local/go/bin
- CGO_ENABLED=0
prelude:
- |
PACKAGE_VERSION=v${PACKAGE_VERSION%\-*} && \
git clone --depth=1 --branch ${PACKAGE_VERSION} https://github.com/containerd/nerdctl
steps:
- |
cd nerdctl && \
make binaries && \
make BINDIR=/usr/bin install
includes:
- /usr/bin/nerdctl

View File

@@ -0,0 +1,8 @@
name: "nerdctl"
category: "utils"
version: "0.22.2"
platform: linux
labels:
github.repo: "nerdctl"
github.owner: "containerd"
autobump.revdeps: "true"