mirror of
https://github.com/kairos-io/packages.git
synced 2025-09-18 00:10:17 +00:00
Add nerdctl and k9s
This commit is contained in:
18
packages/k9s/build.yaml
Normal file
18
packages/k9s/build.yaml
Normal 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
|
7
packages/k9s/definition.yaml
Normal file
7
packages/k9s/definition.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
name: "k9s"
|
||||
category: "utils"
|
||||
version: "0.26.3"
|
||||
platform: Linux
|
||||
labels:
|
||||
github.repo: "k9s"
|
||||
github.owner: "derailed"
|
18
packages/nerdctl/build.yaml
Normal file
18
packages/nerdctl/build.yaml
Normal 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
|
8
packages/nerdctl/definition.yaml
Normal file
8
packages/nerdctl/definition.yaml
Normal 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"
|
Reference in New Issue
Block a user