dapr / cli

Command-line tools for Dapr.
Apache License 2.0
315 stars 197 forks source link

Dapr CLI Docker Container #1340

Open mindovermiles262 opened 10 months ago

mindovermiles262 commented 10 months ago

Describe the proposal

Dapr should provide a container which contains the dapr cli preinstalled on it. A usecase may be when you want to run a kuberentes job using Dapr CLI:

apiVersion: batch/v1
kind: Job
metadata:
  name: dapr-cli
spec:
  template:
    spec:
      containers:
      - name: dapr-cli
        image: daprio/cli
        command: ["dapr", "..."]

As discussed in https://github.com/dapr/cli/pull/1339 this Issue is for determining if there is enough interest in Dapr creating and supporting a Github action pipeline and docker container.

Release Note

RELEASE NOTE: FEATURE Creates new Workflow to publish Dapr CLI to Docker Hub

Jossec101 commented 2 months ago

Definitely worthy for cicd e2e tests as we want a simple way to launch all our services like we do on local dev envs.