feat: add krew plugins
This commit is contained in:
parent
23e085f375
commit
0e8cf5c63a
3 changed files with 14 additions and 3 deletions
|
@ -7,17 +7,22 @@ LABEL com.github.containers.toolbox="true" \
|
||||||
|
|
||||||
RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
||||||
|
|
||||||
COPY extra-packages /
|
COPY packages /
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk upgrade && \
|
apk upgrade && \
|
||||||
grep -v '^#' /extra-packages | xargs apk add
|
grep -v '^#' /packages | xargs apk add
|
||||||
RUN rm /extra-packages
|
RUN rm /packages
|
||||||
|
|
||||||
COPY go-packages /
|
COPY go-packages /
|
||||||
RUN grep -v '^#' /go-packages | xargs -n1 go install
|
RUN grep -v '^#' /go-packages | xargs -n1 go install
|
||||||
RUN rm /go-packages
|
RUN rm /go-packages
|
||||||
RUN mv /root/go/bin/* /usr/local/bin/
|
RUN mv /root/go/bin/* /usr/local/bin/
|
||||||
|
|
||||||
|
COPY krew-plugins /
|
||||||
|
RUN grep -v '^#' /krew-plugins | xargs -n1 kubectl krew install
|
||||||
|
RUN rm /krew-plugins
|
||||||
|
RUN mv /root/.krew/bin/* /usr/local/bin/
|
||||||
|
|
||||||
RUN ln -fs /bin/sh /usr/bin/sh && \
|
RUN ln -fs /bin/sh /usr/bin/sh && \
|
||||||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \
|
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \
|
||||||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak && \
|
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak && \
|
||||||
|
|
4
krew-plugins
Normal file
4
krew-plugins
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
cilium
|
||||||
|
node-shell
|
||||||
|
popeye
|
||||||
|
rook-ceph
|
|
@ -28,6 +28,7 @@ k9s
|
||||||
kakoune
|
kakoune
|
||||||
kubectl
|
kubectl
|
||||||
kubectl-bash-completion
|
kubectl-bash-completion
|
||||||
|
kubectl-krew
|
||||||
kubectx
|
kubectx
|
||||||
kubectx-bash-completion
|
kubectx-bash-completion
|
||||||
kustomize
|
kustomize
|
||||||
|
@ -40,6 +41,7 @@ ncurses
|
||||||
plocate
|
plocate
|
||||||
podman-tui
|
podman-tui
|
||||||
ripgrep
|
ripgrep
|
||||||
|
cargo
|
||||||
rust
|
rust
|
||||||
sad
|
sad
|
||||||
sops
|
sops
|
Loading…
Reference in a new issue