Open
Description
Prepare shims
-
Prerequisites
- Docker
-
kubectl
go run ./cmd/uniget generate kubectl --base cgr.dev/chainguard/static:latest \ | docker build -t kubectl --load - docker run --interactive --tty --rm \ --user "$(id -u):$(id -g)" \ --workdir "/${USER}" \ --env USER="${USER}" \ --env HOME="/${USER}" \ --volume "${HOME}/.kube:/${USER}/.kube" \ kubectl \ /usr/local/bin/kubectl version --client
-
docker
go run ./cmd/uniget generate docker buildx docker-compose docker-scout --base cgr.dev/chainguard/static:latest \ | docker build -t docker --load - docker run --interactive --tty --rm \ --user "$(id -u):$(getent group docker | cut -d: -f3)" \ --workdir "/${USER}" \ --env USER="${USER}" \ --env HOME="/${USER}" \ --volume /var/run/docker.sock:/var/run/docker.sock \ docker \ /usr/local/bin/docker version
Build composite images
- Docker and plugins (e.g. buildx, compose, scout)
- Like
kubectl
andhelm
? - Use chainguard images like
cgr.dev/chainguard/python:latest
Metadata
Assignees
Labels
No labels