Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running multiple zed commands using the Dockerfile #163

Closed
fro-yo opened this issue Oct 20, 2022 · 1 comment
Closed

Running multiple zed commands using the Dockerfile #163

fro-yo opened this issue Oct 20, 2022 · 1 comment

Comments

@fro-yo
Copy link

fro-yo commented Oct 20, 2022

Hey,

I'm trying to run a couple zed commands in a Kubernetes job using the zed Docker image.

The recommended way to do this seems to be

command: ["/bin/sh","-c"]
args: ["zed command_1; zed command_2"]

However, I noticed the base image for the container doesn't have a shell available (or im unable to find it?)

What's the recommended way of running multiple commands on the container?

Using quay.io/authzed/zed:0.5.0 since im still running into this issue with other versions

@vroldanbet
Copy link
Contributor

@froyo if you need a shell in zed container, the recommended approach is to use the -debug image.

~ % docker run -ti --entrypoint=/bin/sh quay.io/authzed/zed:v0.7.4-debug
/ # 

Re: the broken images: it should have been fixed in the latest release: https://github.com/authzed/zed/releases/tag/v0.7.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants