Open zzxwill opened 4 years ago
ko is widely used during development and release of Knative components, which can make containers invisible infrastructure: No need to
docker build
docker push
But ko might not support Dockerfile (see issue please).
Dockerfile
kaniko is a tool to build container images from a Dockerfile, inside Kubernetes cluster.
The docker image oamdev/core-resource-controller needs to be built for running this project see https://github.com/crossplane/addon-oam-kubernetes-local/blob/master/charts/oam-core-resources/values.yaml#L8 and serve for the helm chart see https://crossplane.io/docs/v0.11/getting-started/run-applications.html.
oamdev/core-resource-controller
kubectl create namespace crossplane-system helm repo add crossplane-alpha https://charts.crossplane.io/alpha helm install addon-oam-kubernetes-local --namespace crossplane-system crossplane-alpha/oam-core-resources
We use tool like ko, kaniko to help image build.
ko
kaniko
The ko community has been considering supporting Dockerfile since last September, but there is still no clear roadmap see here.
Background
ko is widely used during development and release of Knative components, which can make containers invisible infrastructure: No need to
docker build
docker push
to a Docker registry like docker hubBut ko might not support
Dockerfile
(see issue please).kaniko is a tool to build container images from a Dockerfile, inside Kubernetes cluster.
Requirement
The docker image
oamdev/core-resource-controller
needs to be built for running this project see https://github.com/crossplane/addon-oam-kubernetes-local/blob/master/charts/oam-core-resources/values.yaml#L8 and serve for the helm chart see https://crossplane.io/docs/v0.11/getting-started/run-applications.html.Proposal
We use tool like
ko
,kaniko
to help image build.